In This Article

SymbolBarGalleryItemViewModel Class

Represents a gallery item view model for a symbol.

public class SymbolBarGalleryItemViewModel : BarGalleryItemViewModel<string>, IBarGalleryItemViewModel, INotifyPropertyChanged, IEquatable<IBarGalleryItemViewModel>
Inheritance:
System.Object ObservableObjectBase BarGalleryItemViewModel<System.String> Object
Implements:
IBarGalleryItemViewModel System.IEquatable<IBarGalleryItemViewModel>

Constructors

SymbolBarGalleryItemViewModel()

Initializes a new instance of the class with a default category.

public SymbolBarGalleryItemViewModel()

SymbolBarGalleryItemViewModel(String)

Initializes a new instance of the class with the specified symbol and a default category.

public SymbolBarGalleryItemViewModel(string value)
Parameter Type Description
value System.String

The string symbol.

SymbolBarGalleryItemViewModel(String, String)

Initializes a new instance of the class with the specified symbol and category.

public SymbolBarGalleryItemViewModel(string value, string category)
Parameter Type Description
value System.String

The string symbol.

category System.String

The item's category, or null if categorization is not supported.

SymbolBarGalleryItemViewModel(String, String, String)

Initializes a new instance of the class with the specified symbol, category, and label.

public SymbolBarGalleryItemViewModel(string value, string category, string label)
Parameter Type Description
value System.String

The string symbol.

category System.String

The item's category, or null if categorization is not supported.

label System.String

The text label to display, or null if the label can be coerced from the current value.

Properties

DefaultCategory

Gets the localizable default category to be used for view models of this type.

public static string DefaultCategory { get; }

Property Value

System.String:

The string category name.

Inherited Members