Class
FlagEnumValueViewModel

Holds information about Flag Enumeration member.

Definition

Namespace:Telerik.Windows.Controls.Data.PropertyGrid

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

cs-api-definition
public class FlagEnumValueViewModel : EnumMemberViewModel, INotifyPropertyChanged

Inheritance: objectEnumMemberViewModelFlagEnumValueViewModel

Implements: INotifyPropertyChanged

Inherited Members EnumMemberViewModel.ValueEnumMemberViewModel.NameEnumMemberViewModel.DescriptionEnumMemberViewModel.DisplayNameEnumMemberViewModel.DisplayShortName

Constructors

FlagEnumValueViewModel(object, string, string, long)

Initializes a new instance of the FlagEnumValueViewModel class.

Declaration

cs-api-definition
public FlagEnumValueViewModel(object value, string name, string description, long flagValue)

Parameters

value

object

name

string

description

string

flagValue

long

FlagEnumValueViewModel(object, string, string, long, string)

Initializes a new instance of the FlagEnumValueViewModel class.

Declaration

cs-api-definition
public FlagEnumValueViewModel(object value, string name, string description, long flagValue, string displayShortName)

Parameters

value

object

name

string

description

string

flagValue

long

displayShortName

string

Properties

FlagValue

Gets or sets the flag value of the item.

Declaration

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

Property Value

object

The Flag Value of each item.

IsSelected

Gets or sets the selected state of the item.

Declaration

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

Property Value

bool

The IsSelected value.

Methods

OnPropertyChanged(PropertyChangedEventArgs)

Called when [property changed].

Declaration

cs-api-definition
protected virtual void OnPropertyChanged(PropertyChangedEventArgs args)

Parameters

args

PropertyChangedEventArgs

ToString()

Returns a string that represents this instance.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string that represents this instance.

Overrides EnumMemberViewModel.ToString()

Events

PropertyChanged

Occurs when a property value changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged