Dock Layout Manager: Customize Appearance
- 9 minutes to read
This topic lists properties that you can use to customize the appearance of layout items.
#LayoutPanel
#Caption
Property | Description |
---|---|
Show |
Gets or sets whether the item’s caption is visible. This is a dependency property. |
Caption |
Gets or sets the template used to visualize the current item’s Base |
Caption |
Gets or sets an object that chooses a template applied to the Base |
Item |
Gets or sets the height for the specified Base |
Item |
Gets or sets the width for the specified Base |
#1. Caption Image
Property | Description |
---|---|
Caption |
Gets or sets the image displayed within the item’s Caption. This is a dependency property. |
Caption |
Gets or sets the relative position of an image within the item’s caption. This is a dependency property. |
Caption |
Gets or sets the caption image style. This is a dependency property. |
Show |
Gets or sets whether the Base |
#2. Caption Text
Property | Description |
---|---|
Caption | Gets or sets the layout item’s caption. |
Caption |
Gets or sets the format string used to format the layout item’s caption. This is a dependency property. |
Caption |
Gets or sets the template used to visualize the current item’s Base |
Caption |
Gets or sets an object that chooses a template applied to the Base |
#3. Pin Button
- ShowPinButton
- Gets or sets whether the Pin button is visible.
#Tab Caption
Property | Description |
---|---|
Tab |
Gets or sets the horizontal alignment of the item’s tab caption. This is a dependency property. |
Tab |
Gets or sets a template that defines the tab caption presentation. This is a dependency property. |
Tab |
Gets or sets an object that chooses a tab caption template based on custom logic. This is a dependency property. |
Tab |
Gets or sets the vertical alignment of the item’s tab caption. This is a dependency property. |
Tab |
Gets or sets the width of the corresponding tab. This property is in effect when the current object represents items as tabs or when it represents one of the tabs. This is a dependency property. |
#1. Tab Caption Image
- TabCaptionImage
- Gets or sets an image displayed within the layout item caption in a tabbed layout. This is a dependency property.
- ShowTabCaptionImage
- Gets or sets whether to show an image within a tab caption of the layout item. This is a dependency property.
#2. Tab Caption Text
Property | Description |
---|---|
Tab |
Gets or sets the layout item’s tab caption. |
Tab |
Gets or sets the format string used to format the layout item’s tab caption. This is a dependency property. |
Tab |
Gets or sets a template that defines the tab caption presentation. This is a dependency property. |
Tab |
Gets or sets an object that chooses a tab caption template based on custom logic. This is a dependency property. |
#LayoutGroup
- Foreground
- BorderBrush, BorderThickness
- Padding, Margin
- LayoutItemInterval
- LayoutGroupInterval
- DockItemInterval
- ItemHeight, ItemWidth
#Caption
Use the Appearance property to customize the appearance settings for the item’s caption when it is in the normal and active (selected) states.
The table below lists more customization properties:
Property | Description |
---|---|
Gets or sets the alignment settings of a control | |
Gets or sets the format string used to format the layout item’s caption. This is a dependency property. | |
Gets or sets the item Caption‘s horizontal alignment. This is a dependency property. | |
Gets or sets the image displayed within the item’s Caption. This is a dependency property. | |
Gets or sets the relative position of an image within the item’s caption. This is a dependency property. | |
Gets or sets the caption image style. This is a dependency property. | |
Gets or sets the position of the item’s Caption. This is a dependency property. | |
Gets or sets the template used to visualize the current item’s Base | |
Gets or sets an object that chooses a template applied to the Base | |
Gets or sets the vertical alignment of the item’s caption. This is a dependency property. |
#TabCaption
Property | Description |
---|---|
Gets or sets the format string used to format the layout item’s tab caption. This is a dependency property. | |
Gets or sets the horizontal alignment of the item’s tab caption. This is a dependency property. | |
Gets or sets an image displayed within the layout item caption in a tabbed layout. This is a dependency property. | |
Gets or sets a template that defines the tab caption presentation. This is a dependency property. | |
Gets or sets an object that chooses a tab caption template based on custom logic. This is a dependency property. | |
Gets or sets the vertical alignment of the item’s tab caption. This is a dependency property. |
#Font
#FloatGroup
Property | Description |
---|---|
Gets or sets the size of the item when it is floating. This is a dependency property. | |
Gets or sets whether the minimize button is shown in the Layout | |
Gets or sets a title displayed for the current float group in the Windows Taskbar. This is an attached property. | |
Gets or sets an icon displayed for the current float group in the Windows Taskbar. This is an attached property. |
#AutoHideGroup
Property | Description |
---|---|
Gets or sets the time, in milliseconds, required to open/close an auto-hidden panel belonging to the current group. This is a dependency property. | |
Gets or sets the size of panels belonging to the current Auto | |
Gets or sets the panel’s position when it is hidden. This is an attached property. | |
Gets or sets the Dock | |
Gets or sets how an auto-hidden panel is expanded. This is a dependency property. | |
Gets or sets the mode that specifies how auto-hidden panels are displayed relative to other panels when expanded. This is a dependency property. | |
Gets or sets whether auto-hide and floating panels should be displayed over a Windows |
#TabbedGroup
Property | Description |
---|---|
Gets or sets whether the only dock panel within the Tabbed | |
Gets or sets how the Layout | |
Gets or sets how the tab headers are scrolled while selecting tabs when tab headers could not fit into the header panel. This is a dependency property. |
#DocumentGroup
Property | Description |
---|---|
MDIStyle | Gets or sets how the Document |
MDISize | Gets or sets the size of an MDI child panel. This property is in effect when the group’s Document |
Pin |
Specifies where the pinned tabbed Document |
Show |
Gets or sets whether the Pin button on the tabbed Document |
Show |
Gets or sets whether the object assigned to the Base |
Control |
Gets or sets the template that defines how the object assigned to the Base |
#LayoutControlItem
Property | Description |
---|---|
Show |
Gets or sets whether the item’s caption is visible. This is a dependency property. |
Caption |
Gets or sets the position of the item’s Caption. This is a dependency property. |
Caption |
Gets or sets the template used to visualize the current item’s Base |
Caption |
Gets or sets an object that chooses a template applied to the Base |
Caption |
Gets or sets the item Caption‘s horizontal alignment. This is a dependency property. |
Caption |
Gets or sets the vertical alignment of the item’s caption. This is a dependency property. |
Caption |
Gets or sets the image displayed within the item’s Caption. This is a dependency property. |
Caption |
Gets or sets the relative position of an image within the item’s caption. This is a dependency property. |
Caption |
Gets or sets the alignment settings of a control |
#SeparatorItem
Property | Description |
---|---|
Orientation | Gets a Separator |
Item |
Gets or sets the height for the specified Base |
Item |
Gets or sets the width for the specified Base |
#LayoutSplitter
Property | Description |
---|---|
Orientation | Gets a Layout |
Item |
Gets or sets the height for the specified Base |
Item |
Gets or sets the width for the specified Base |
#EmptySpaceItem
Property | Description |
---|---|
Item |
Gets or sets the height for the specified Base |
Item |
Gets or sets the width for the specified Base |
Background | Gets or sets the layout item’s background color. |
#LabelItem
Property | Description |
---|---|
Content |
Gets or sets a horizontal alignment for a Label Item’s Label |
Content |
Gets or sets a Data |
Content |
Gets or sets an object that chooses a Label This is a dependency property. |
Content |
Gets or sets a vertical alignment for a Label Item’s Label |