Skip to content

Latest commit

 

History

History
33 lines (30 loc) · 3.08 KB

templatedcontrol.md

File metadata and controls

33 lines (30 loc) · 3.08 KB

TemplatedControl

Inheritance: Control
AvaloniaUI documentation: TemplatedControl API

Properties

Properties Description
background(value: WidgetBuilder<'msg, #IFabBrush>) Sets the BackgroundWidget property.
background(value: IBrush) Sets the Background property.
background(value: string) Sets the Background property.
borderBrush(value: WidgetBuilder<'msg, #IFabBrush>) Sets the BorderBrushWidget property.
borderBrush(value: IBrush) Sets the BorderBrush property.
borderBrush(value: string) Sets the BorderBrush property.
borderThickness(value: Thickness) Sets the BorderThickness property.
cornerRadius(value: CornerRadius) Sets the CornerRadius property.
cornerRadius(value: float) Sets the CornerRadius property.
fontFamily(value: FontFamily) Sets the FontFamily property.
fontSize(value: float) Sets the FontSize property.
fontStyle(value: FontStyle) Sets the FontStyle property.
fontWeight(value: FontWeight) Sets the FontWeight property.
fontStretch(value: FontStretch) Sets the FontStretch property.
foreground(value: WidgetBuilder<'msg, #IFabBrush>) Sets the ForegroundWidget property.
foreground(value: IBrush) Sets the Foreground property.
foreground(value: string) Sets the Foreground property.
padding(value: Thickness) Sets the Padding property.
padding(value: float) Sets the Padding property.
padding(horizontal: float, vertical: float) Sets the Padding property.
padding(left: float, top: float, right: float, bottom: float) Sets the Padding property.
borderThickness(value: float) Sets the BorderThickness property.
borderThickness(horizontal: float, vertical: float) Sets the BorderThickness property.
borderThickness(left: float, top: float, right: float, bottom: float) Sets the BorderThickness property.