Back to Devexpress

BaseEditSettings.StyleSettings Property

wpf-devexpress-dot-xpf-dot-editors-dot-settings-dot-baseeditsettings-80c7c7cf.md

latest5.4 KB
Original Source

BaseEditSettings.StyleSettings Property

Gets or sets an object that defines an editor’s appearance and behavior. This is a dependency property.

Namespace : DevExpress.Xpf.Editors.Settings

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public BaseEditStyleSettings StyleSettings { get; set; }
vb
Public Property StyleSettings As BaseEditStyleSettings

Property Value

TypeDescription
BaseEditStyleSettings

A BaseEditStyleSettings descendant hat defines the editor’s appearance and behavior.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to StyleSettings
BarEditItem

.EditSettings .StyleSettings

| | FilterField |

.EditSettings .StyleSettings

| | ColumnBase |

.ActualEditSettings .StyleSettings

| | ColumnBase |

.EditSettings .StyleSettings

| | TreeViewControl |

.EditSettings .StyleSettings

| | PropertyDefinition |

.EditSettings .StyleSettings

| | SpreadsheetCustomCellEditEventArgs |

.EditSettings .StyleSettings

|

Remarks

Various editor controls provide multiple built-in styles. For instance, a TrackBarEdit supports four built-in styles which define its appearance and behavior: Native (TrackBarStyleSettings), Range (TrackBarRangeStyleSettings), Zoom (TrackBarZoomStyleSettings) and ZoomRange (TrackBarZoomRangeStyleSettings). A ProgressBarEdit supports two built-in styles: Native (ProgressBarStyleSettings) and Marquee (ProgressBarMarqueeStyleSettings).

The following code snippets (auto-collected from DevExpress Examples) contain references to the StyleSettings 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-data-grid-display-datetime-value-in-separate-date-and-time-columns/CS/DateAndTimeColumns_Unbound/MainWindow.xaml#L21

xml
<dxe:DateEditSettings DisplayFormat="T">
    <dxe:DateEditSettings.StyleSettings>
        <dxe:DateEditTimePickerStyleSettings/>

mvvm-application-with-wpf-bars/CS/Bars_in_MVVM_Application/MainWindow.xaml#L65

xml
<dxe:ComboBoxEditSettings ItemsSource="{dxe:EnumItemsSource EnumType={x:Type local:Tag}}">
    <dxe:ComboBoxEditSettings.StyleSettings>
        <dxe:CheckedTokenComboBoxStyleSettings AllowEditTokens="False" FilterOutSelectedTokens="False" NewTokenPosition="None"/>

wpf-data-grid-filter-columns-bound-to-collection-properties/CS/FilterDropDown_AgregateOperators/MainWindow.xaml#L57

xml
DisplayMember="Name">
<dxe:ComboBoxEditSettings.StyleSettings>
    <dxe:CheckedTokenComboBoxStyleSettings FilterOutSelectedTokens="False"/>

See Also

BaseEditSettings Class

BaseEditSettings Members

DevExpress.Xpf.Editors.Settings Namespace