Back to Devexpress

DockingDocumentUIService.LayoutPanelStyleSelector Property

wpf-devexpress-dot-xpf-dot-docking-dot-dockingdocumentuiservice-bbf6ba25.md

latest1.6 KB
Original Source

DockingDocumentUIService.LayoutPanelStyleSelector Property

Gets or sets an object that chooses a style applied to a document’s container (a LayoutPanel object) . This is a dependency property.

Namespace : DevExpress.Xpf.Docking

Assembly : DevExpress.Xpf.Docking.v25.2.dll

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public StyleSelector LayoutPanelStyleSelector { get; set; }
vb
Public Property LayoutPanelStyleSelector As StyleSelector

Property Value

TypeDescription
StyleSelector

A System.Windows.Controls.StyleSelector descendant that applies a style based on custom logic.

|

Remarks

To implement custom logic for choosing a style, you should create a System.Windows.Controls.StyleSelector descendant, and override the System.Windows.Controls.StyleSelector.SelectStyle method. This method’s return value will be applied to a document container.

See Also

DockingDocumentUIService Class

DockingDocumentUIService Members

DevExpress.Xpf.Docking Namespace