Skip to main content

LayoutControl.CustomizationControlStyle Property

Gets or sets the style applied to the Customization Control.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v24.2.dll

NuGet Package: DevExpress.Wpf.LayoutControl

Declaration

public Style CustomizationControlStyle { get; set; }

Property Value

Type Description
Style

A Style object that represents the corresponding style.

Remarks

Note

This style is intended for the LayoutControlCustomizationControl type.

The Customization Control is a transparent control that is made visible in Customization Mode. It draws a red border around the LayoutControl and displays a button used to invoke the Available Items List:

DXLayoutControl_CustomizationControl

The following code shows how to change the Customization Control’s border color from red to green:

<Window.Resources>
    <Style TargetType="dxlc:LayoutControlCustomizationControl" x:Key="myStyle">
        <Setter Property="BorderBrush" Value="Green"/>
    </Style>
</Window.Resources>

<dxlc:LayoutControl  Name="layoutControl1" CustomizationControlStyle="{StaticResource myStyle}" >
...
See Also