Back to Devexpress

WinExplorerViewOptionsView.Style Property

windowsforms-devexpress-dot-xtragrid-dot-winexplorer-dot-winexplorerviewoptionsview-16630644.md

latest4.9 KB
Original Source

WinExplorerViewOptionsView.Style Property

Gets or sets the current WinExplorer View style.

Namespace : DevExpress.XtraGrid.WinExplorer

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(WinExplorerViewStyle.Default)]
[XtraSerializableProperty]
public WinExplorerViewStyle Style { get; set; }
vb
<DefaultValue(WinExplorerViewStyle.Default)>
<XtraSerializableProperty>
Public Property Style As WinExplorerViewStyle

Property Value

TypeDefaultDescription
WinExplorerViewStyleDefault

A WinExplorerViewStyle enumerator value that specifies the current WinExplorer View style.

|

Available values:

NameDescription
Default

Same as WinExplorerViewStyle.Medium.

| | ExtraLarge |

Extra large images with text and check boxes on the left of the image.

| | Large |

Large images with text and check boxes to the left of the image.

| | Medium |

Medium images with text and check boxes to the left of the image.

| | Small |

Small images with text and check boxes to the left of the image. Items are arranged horizontally. Groups are placed one below the other.

| | Tiles |

Medium images with text, description and check boxes to the top left corner of the image. Check boxes are visible only if checked or hovered.

| | List |

Small images with text and check boxes to left of the image. Items are arranged vertically, and groups are placed horizontally side-by-side. Groups cannot be collapsed even if the OptionsView.ShowExpandCollapseButtons property equals true.

| | Content |

Each item is displays its check-box, medium image, caption and description in a single row. Items are arranged one under another and separated by horizontal lines. Check boxes are visible only if checked or hovered.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to Style
WinExplorerView

.OptionsView .Style

|

Remarks

See the WinExplorer View topic to learn more about available WinExplorerView styles and their differences.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Style 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.

office-file-api-create-thumbnail-images-for-docx-xlsx-pdf-files/CS/Form1.cs#L42

csharp
winExplorerView1.OptionsImageLoad.AsyncLoad = true;
    winExplorerView1.OptionsView.Style = DevExpress.XtraGrid.Views.WinExplorer.WinExplorerViewStyle.ExtraLarge;
}

office-file-api-create-thumbnail-images-for-docx-xlsx-pdf-files/VB/Form1.vb#L36

vb
winExplorerView1.OptionsImageLoad.AsyncLoad = True
    winExplorerView1.OptionsView.Style = DevExpress.XtraGrid.Views.WinExplorer.WinExplorerViewStyle.ExtraLarge
End Sub

See Also

WinExplorer View

WinExplorerViewOptionsView Class

WinExplorerViewOptionsView Members

DevExpress.XtraGrid.WinExplorer Namespace