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.HideOnZoom Property

Gets or sets the control zoom level at which the strip line must be hidden. This is a dependency property.

Namespace: DevExpress.Xpf.Gantt

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

Declaration

public TimeSpan? HideOnZoom { get; set; }
Public Property HideOnZoom As TimeSpan?

Property Value

Type Description
Nullable<TimeSpan>

The control Zoom level.

Remarks

The control allows you to hide strip lines if end-users zoom out the view farther than specified by the HideOnZoom property.

The code sample below demonstrates a strip line that is hidden when the Gantt area's GanttView.Zoom property value is less than one hour per device-independent pixel.

<dxgn:StripLine
    StartDate="08/14/2019 10:00:00" 
    Duration="5:0:0"
    HideOnZoom="1:0:0"/>

NOTE

The HideOnZoom property does not affect the CurrentDateTimeStripLine.

See Also