Skip to main content

Common Properties

Framework Element Properties

  • Height - Specifies the height of the control in pixels. If specified, the value must be positive.
  • Horizontal Alignment - Determines how the control is aligned horizontally within its parent container. For further info see Horizontal Alignment.
  • Margin - Defines the space around the control. The margin can be set using four values representing the space on the left, top, right, and bottom. If only one value is entered the value will apply to all four edges. If only two values are entered the first value will apply to the left and right edges and the seconds value will apply to the top and bottom edges.
  • Style Options - For further info see Style Settings.
  • Vertical Alignment - Determines how the control is aligned vertically within its parent container. For further info see Vertical Alignment.
  • Width - Specifies the width of the control in pixels. If specified, the value must be positive.

Control Properties

  • Border Brush - Gets or sets the brush that draws the outer border color.
  • Border Thickness - Gets or sets the relative thickness of a border.
  • Horizontal Content Alignment - Determines how the content is aligned horizontally within the control. For further info see Horizontal Alignment.
  • Padding - The padding is the internal space between the content of the control and its edge. The padding can be set using four values representing the space on the left, top, right, and bottom. If only one value is entered the value will apply to all four edges. If only two values are entered the first value will apply to the left and right edges and the seconds value will apply to the top and bottom edges.
  • Vertical Content Alignment - Determines how the content is aligned vertically within the control. For further info see Vertical Alignment.