Show / Hide Table of Contents

Class TagItemViewModel

A class containing the logic for a tag item in the Tag Control.

Inheritance
object
BindableBase
TagItemViewModel
Implements
INotifyPropertyChanged
Inherited Members
BindableBase.SetProperty<T>(ref T, T, string)
BindableBase.SetProperty<T>(ref T, T, Action, string)
BindableBase.RaisePropertyChanged(string)
BindableBase.OnPropertyChanged(PropertyChangedEventArgs)
BindableBase.PropertyChanged
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class TagItemViewModel : BindableBase, INotifyPropertyChanged

Constructors

View Source

TagItemViewModel(Func<string, bool>)

Initializes a new instance of the TagItemViewModel class.

Declaration
public TagItemViewModel(Func<string, bool> validateTagIsUniqueFunc)
Parameters
Type Name Description
Func<string, bool> validateTagIsUniqueFunc

A function for validating if a tag is unique.

View Source

TagItemViewModel(string, Func<string, bool>)

Initializes a new instance of the TagItemViewModel class.

Declaration
public TagItemViewModel(string tagText, Func<string, bool> validateTagIsUniqueFunc)
Parameters
Type Name Description
string tagText

The text to set the tag to.

Func<string, bool> validateTagIsUniqueFunc

A function for validating if a tag is unique.

Properties

View Source

ApplyAutoCompleteTextCommand

Gets the command for applying the auto complete field to the tag.

Declaration
public ICommand ApplyAutoCompleteTextCommand { get; }
Property Value
Type Description
ICommand
View Source

IsEditing

Gets or sets a value indicating whether this tag is in editing mode.

Declaration
public bool IsEditing { get; set; }
Property Value
Type Description
bool
View Source

TagText

Gets the locked in text for this tag.

Declaration
public string TagText { get; }
Property Value
Type Description
string
View Source

UserText

Gets or sets the user edited text of the tag.

Declaration
public string UserText { get; set; }
Property Value
Type Description
string

Implements

INotifyPropertyChanged
  • View Source
In this article
Back to top Generated by DocFX