All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

StripLineBase.ControlStyle Property

Gets or sets the style applied to the control that is used to render strip lines. This is a dependency property.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v20.1.dll

Declaration

public Style ControlStyle { get; set; }
Public Property ControlStyle As Style

Property Value

Type Description
Style

A Style object that is applied to StripLineControl.

Remarks

The ControlStyle property allows you to customize the StripLineControl style. This control is used to render strip lines.

<dxgn:StripLine
    Background="#3FF5BD53"
    BorderBrush="#FFF5BD53"
    BorderThickness="1,0"
    Duration="5:0:0"
    StartDate="08/28/2019 10:00:00">
    <!-- Change strip line opacity when an end user moves the cursor over it -->
    <dxgn:StripLine.ControlStyle>
        <Style TargetType="{x:Type dxgn:StripLineControl}">
            <Style.Triggers>
                <Trigger Property="IsMouseOver" Value="True">
                    <Setter Property="Opacity" Value=".8" />
                </Trigger>
            </Style.Triggers>
        </Style>
    </dxgn:StripLine.ControlStyle>
</dxgn:StripLine>
See Also