Show / Hide Table of Contents

Class AttachmentParameterViewModel

View model representing attachment capture parameter.

Inheritance
object
BindableBase
AttachmentParameterViewModel
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 AttachmentParameterViewModel : BindableBase, INotifyPropertyChanged

Constructors

View Source

AttachmentParameterViewModel(TemplateViewModel, AttachmentParameterDefinition, bool, ViewModelSharedInfo, ICustomAttachments)

Initializes a new instance of the AttachmentParameterViewModel class.

Declaration
public AttachmentParameterViewModel(TemplateViewModel template, AttachmentParameterDefinition definition, bool inDesignMode, ViewModelSharedInfo sharedInfo, ICustomAttachments customAttachments = null)
Parameters
Type Name Description
TemplateViewModel template

The template view model.

AttachmentParameterDefinition definition

The attachment parameter definition.

bool inDesignMode

Indicates if this instance is in design mode.

ViewModelSharedInfo sharedInfo

SharedInfo ViewModel.

ICustomAttachments customAttachments

The group of custom attachments.

Properties

View Source

Definition

Gets parameter's serializable definition.

Declaration
public AttachmentParameterDefinition Definition { get; }
Property Value
Type Description
AttachmentParameterDefinition
View Source

EmbedDisplayText

Gets the text to display in the UI.

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

IsInvalid

Gets a value indicating whether if the current parameter is valid.

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

IsMultiSelect

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

Name

Gets or sets parameter's Key/Display Name.

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

SelectedInvalidValues

Gets a list of selected items which are invalid.

Declaration
public IEnumerable<AttachmentParameterItemViewModel> SelectedInvalidValues { get; }
Property Value
Type Description
IEnumerable<AttachmentParameterItemViewModel>
View Source

SharedInfo

Gets or sets the SharedInfo provided for this AttachmentParameterViewModel.

Declaration
public ViewModelSharedInfo SharedInfo { get; set; }
Property Value
Type Description
ViewModelSharedInfo
View Source

UseItemSelector

Gets a value indicating whether if the parameter uses the Item Selector.

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

Value

Gets or sets parameter's value.

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

ValueList

Gets or sets parameter's list value.

Declaration
public ObservableCollection<AttachmentParameterItemViewModel> ValueList { get; set; }
Property Value
Type Description
ObservableCollection<AttachmentParameterItemViewModel>
View Source

ValueOptions

Gets a list of selection options.

Declaration
public ObservableCollection<AttachmentParameterItemViewModel> ValueOptions { get; }
Property Value
Type Description
ObservableCollection<AttachmentParameterItemViewModel>
View Source

ValueType

Gets the system type for the value for this attachment parameter.

Declaration
public Type ValueType { get; }
Property Value
Type Description
Type

Events

View Source

ParameterUpdated

Handler for when an attachment parameter is updated.

Declaration
public event PropertyChangedEventHandler ParameterUpdated
Event Type
Type Description
PropertyChangedEventHandler

Implements

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