Back to Devexpress

WinExplorerViewStyleOptions Class

windowsforms-devexpress-dot-xtragrid-dot-views-dot-winexplorer-24f7af35.md

latest4.2 KB
Original Source

WinExplorerViewStyleOptions Class

Provides access to a specific WinExplorerView Style’s advanced settings.

Namespace : DevExpress.XtraGrid.Views.WinExplorer

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
public class WinExplorerViewStyleOptions :
    ViewBaseOptions,
    ISupportDxHtmlContent,
    IDxHtmlDesignerDataProvider
vb
Public Class WinExplorerViewStyleOptions
    Inherits ViewBaseOptions
    Implements ISupportDxHtmlContent,
               IDxHtmlDesignerDataProvider

The following members return WinExplorerViewStyleOptions objects:

Remarks

Use the WinExplorerView.OptionsViewStyles property to access all properties that store WinExplorerViewStyleOptions objects. These objects store advanced settings for each WinExplorerView Style.

Note

The WinExplorerViewStyle.Content View Style is the only Style that does not store its advanced properties within a WinExplorerViewStyleOptions object, but within a WinExplorerViewContentStyleOptions object.

csharp
// Specify item width for the Large view style
this.winExplorerView1.OptionsViewStyles.Large.ItemWidth = 200;
// Specify the indent between text and images for the Small view style
this.winExplorerView1.OptionsViewStyles.Small.ImageToTextIndent = 50;
vb
' Specify item width for the Large view style
Me.winExplorerView1.OptionsViewStyles.Large.ItemWidth = 200
' Specify the indent between text and images for the Small view style
Me.winExplorerView1.OptionsViewStyles.Small.ImageToTextIndent = 50

Inheritance

Object ViewStatePersisterCore BaseOptions ViewBaseOptions WinExplorerViewStyleOptions WinExplorerViewContentStyleOptions

WinExplorerViewListStyleOptions

See Also

WinExplorerViewStyleOptions Members

WinExplorer View

DevExpress.XtraGrid.Views.WinExplorer Namespace