Search Results for

    Show / Hide Table of Contents

    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

    Inheritance
    System.Object
    SerializedParam
    ViewSerializedParam
    ButtonViewParams
    Implements
    ICloneable
    ICloneable<ViewSerializedParam>
    ICloneable<ButtonViewParams>
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    ViewSerializedParam.ViewName
    ViewSerializedParam.ViewIcon
    ViewSerializedParam.VisibleFormula
    ViewSerializedParam.Visible
    ViewSerializedParam.VisibleOnlyToRoles
    ViewSerializedParam.AddVisibleOnlyToRole(Guid)
    ViewSerializedParam.RemoveVisibleOnlyToRole(Guid)
    ViewSerializedParam.IsVisible
    ViewSerializedParam.EvaluateVisibilityFormula(DisplayableItemDescriptor, ModelLayoutDisplayerController, IModelView, IBaseEntity)
    ViewSerializedParam.CopyFromSource(ViewSerializedParam)
    SerializedParam.GetParam<T>(String)
    SerializedParam.GetParam<T>(Byte[])
    SerializedParam.GetParam(String)
    SerializedParam.GetParam(Byte[])
    SerializedParam.ToSerializedString()
    SerializedParam.ToSerializedBytes()
    SerializedParam.ICloneable.Clone()
    SerializedParam.ICloneable.CopyFromSource(Object)
    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 ImageID
    Declaration
    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 CommandDescriptorOptionsAttribute
    Declaration
    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
    ViewSerializedParam.CopyFromParam(SerializedParam)

    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
    ViewSerializedParam.CreateNewParam()

    Events

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    ICloneable
    ICloneable<T>
    ICloneable<T>
    System.ComponentModel.INotifyPropertyChanged

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.