wpf-devexpress-dot-xpf-dot-gantt-dot-striplinebase-ec19c4b3.md
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.v25.2.dll
NuGet Package : DevExpress.Wpf.Gantt
public Style ControlStyle { get; set; }
Public Property ControlStyle As Style
| Type | Description |
|---|---|
| Style |
A Style object that is applied to StripLineControl.
|
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