Class ButtonViewParams
The parameters for the IButtonView/ButtonController which determine which command the view should provide access to and its associated parameters
The ButtonSerializedParamController is responsible for the UI param popup for editing these parameters
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LemonEdge.Client.Core.Views
Assembly: ClientCore.dll
Syntax
[DataContract]
public class ButtonViewParams : ViewSerializedParam, ICloneable, ICloneable<ViewSerializedParam>, ICloneable<ButtonViewParams>, INotifyPropertyChanged
Properties
ButtonIconID
The globally unique id of the icon to use for this button
Standard ones come from ImageType enum
Custom ones come from ImageIDDeclaration
public Guid ButtonIconID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
ButtonID
The actual globally unique id for this button.
Standard ones come from the Commands enum
Custom ones have their own unique id provided from the CommandDescriptorOptionsAttributeDeclaration
public Guid ButtonID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
ButtonName
The user friendly name for this button
Declaration
public string ButtonName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ButtonParams
The custom parameters for this command button
Must inherit from CommandSerializedParam
Declaration
public string ButtonParams { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ButtonTooltip
The tool tip for this button
Declaration
public string ButtonTooltip { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Clone()
Declaration
public ButtonViewParams Clone()
Returns
Type | Description |
---|---|
ButtonViewParams |
CopyFromParam(SerializedParam)
Declaration
protected override void CopyFromParam(SerializedParam source)
Parameters
Type | Name | Description |
---|---|---|
SerializedParam | source |
Overrides
CopyFromSource(ButtonViewParams)
Declaration
public void CopyFromSource(ButtonViewParams source)
Parameters
Type | Name | Description |
---|---|---|
ButtonViewParams | source |
CreateNewParam()
Declaration
protected override SerializedParam CreateNewParam()
Returns
Type | Description |
---|---|
SerializedParam |
Overrides
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged