Back to Devexpress

SpreadsheetControl.HorizontalScrollbarVisibility Property

wpf-devexpress-dot-xpf-dot-spreadsheet-dot-spreadsheetcontrol-88c41edc.md

latest2.7 KB
Original Source

SpreadsheetControl.HorizontalScrollbarVisibility Property

Gets or sets a value that indicates whether the SpreadsheetControl’s scrollbar should be displayed or hidden. This is a dependency property.

Namespace : DevExpress.Xpf.Spreadsheet

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

NuGet Package : DevExpress.Wpf.Spreadsheet

Declaration

csharp
public SpreadsheetElementVisibility HorizontalScrollbarVisibility { get; set; }
vb
Public Property HorizontalScrollbarVisibility As SpreadsheetElementVisibility

Property Value

TypeDescription
SpreadsheetElementVisibility

One of the SpreadsheetElementVisibility enumeration values.

|

Available values:

NameDescription
Default

The element of the SpreadsheetControl is hidden or displayed as specified by document settings. The default value is automatically set if it is not explicitly specified.

| | Visible |

The element of the SpreadsheetControl is always displayed.

| | Hidden |

The element of the SpreadsheetControl is always hidden.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HorizontalScrollbarVisibility property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-spreadsheet-control-create-a-data-entry-form/CS/WpfDataEntryFormSample/MainWindow.xaml#L27

xml
VerticalScrollbarVisibility="Hidden"
HorizontalScrollbarVisibility="Hidden"
CustomCellEdit="SpreadsheetControl1_CustomCellEdit"

See Also

SpreadsheetControl Class

SpreadsheetControl Members

DevExpress.Xpf.Spreadsheet Namespace