Class
FlagEnumEditorViewModel

Represents the view model of the FlagEnumEditor control.

Definition

Namespace:Telerik.UI.Xaml.Controls.Data.PropertyGrid

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class FlagEnumEditorViewModel : ViewModelBase, INotifyPropertyChanged

Inheritance: objectViewModelBaseFlagEnumEditorViewModel

Implements: INotifyPropertyChanged

Inherited Members ViewModelBase.VerifyPropertyName(string)ViewModelBase.OnPropertyChanged(string)ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)ViewModelBase.PropertyChangedOverride(string)ViewModelBase.PropertyChanged

Properties

DisplayText

Gets the text to be displayed for the selected items.

Declaration

cs-api-definition
public string DisplayText { get; }

Property Value

string

EnumItemsSource

Gets all the values of the Enumeration of the Enumeration.

Declaration

cs-api-definition
public ObservableItemCollection<FlagEnumValueViewModel> EnumItemsSource { get; }

Property Value

ObservableItemCollection<FlagEnumValueViewModel>

IsSelectAllEnabled

Gets or sets boolean value whether SelectAll value is defined in the Enumeration.

Declaration

cs-api-definition
public bool IsSelectAllEnabled { get; set; }

Property Value

bool

The value whether SelectAll value is defined.

SelectedItems

Gets the selected items.

Declaration

cs-api-definition
public List<FlagEnumValueViewModel> SelectedItems { get; }

Property Value

List<FlagEnumValueViewModel>

ShouldUpdateItems

Gets boolean value whether value should be updated.

Declaration

cs-api-definition
public bool ShouldUpdateItems { get; set; }

Property Value

bool

The value whether value should be updated.

Value

Gets or sets the value.

Declaration

cs-api-definition
public object Value { get; set; }

Property Value

object

The value.