Search Results for

    Show / Hide Table of Contents

    Class ViewCommandSeparator

    The empty command used to indicate a separator in UIContext.CommandFactory.Separator

    Public only for compatibility .

    Inheritance
    object
    BaseHasChildren<EPCommandWithDescriptor>
    EPCommand
    EPCommandWithDescriptor
    ViewCommand
    ViewCommandSeparator
    Implements
    IHasChildren<EPCommandWithDescriptor>
    IHasChildren
    IDisposable
    IEPCommandWithDescriptor
    IEPCommand
    ICommand
    ICommandDescriptor
    Inherited Members
    ViewCommand.Type
    ViewCommand.IncludeInSimple
    EPCommandWithDescriptor.Parameter
    EPCommandWithDescriptor.HelpURL
    EPCommand.OnCanExecuteChanged()
    EPCommand.LoadChildrenAsync()
    EPCommand.ExternalExecute(object)
    EPCommand.InternalExecuteAsync(object)
    EPCommand.ExternalCanExecute(object)
    EPCommand.InternalCanExecuteAsync(object)
    EPCommand.GetModifierText(IEPCommand)
    EPCommand.Dispose()
    EPCommand.RootController
    EPCommand.ReloadChildrenOnEachOpen
    EPCommand.HasChildCommands
    EPCommand.From
    EPCommand.LockExecution
    EPCommand.CustomType
    EPCommand.Key
    EPCommand.ModifierKeys
    EPCommand.Owner
    EPCommand.Toggler
    EPCommand.IsQuickAccessCommand
    EPCommand.CanExecuteChanged
    BaseHasChildren<EPCommandWithDescriptor>.AddChild(EPCommandWithDescriptor, bool)
    BaseHasChildren<EPCommandWithDescriptor>.DeleteChild(EPCommandWithDescriptor)
    BaseHasChildren<EPCommandWithDescriptor>.ClearChildren()
    BaseHasChildren<EPCommandWithDescriptor>.AddChild(IHasChildren)
    BaseHasChildren<EPCommandWithDescriptor>.DeleteChild(IHasChildren)
    BaseHasChildren<EPCommandWithDescriptor>.Children
    BaseHasChildren<EPCommandWithDescriptor>.Parent
    object.GetType()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.UI.API.Views.Commands
    Assembly: LemonEdge.Client.UI.API.dll
    Syntax
    public sealed class ViewCommandSeparator : ViewCommand, IHasChildren<EPCommandWithDescriptor>, IHasChildren, IDisposable, IEPCommandWithDescriptor, IEPCommand, ICommand, ICommandDescriptor

    Constructors

    ViewCommandSeparator(IRootController)

    Declaration
    public ViewCommandSeparator(IRootController root)
    Parameters
    Type Name Description
    IRootController root

    Properties

    Description

    A user friendly description of this command

    Declaration
    public override string Description { get; }
    Property Value
    Type Description
    string
    Overrides
    EPCommandWithDescriptor.Description

    IconID

    The image to use for this command, either a ImageType or ImageID

    Declaration
    public override Guid IconID { get; }
    Property Value
    Type Description
    Guid
    Overrides
    EPCommandWithDescriptor.IconID

    OverlayIconID

    On some clients another image can be overlayed on the bottom right of the main icon (for indicating add, remove, etc)

    This optional overlay image can be specified here, either a ImageType or ImageID

    Declaration
    public override Guid? OverlayIconID { get; }
    Property Value
    Type Description
    Guid?
    Overrides
    EPCommandWithDescriptor.OverlayIconID

    Title

    The title of this command

    Declaration
    public override string Title { get; }
    Property Value
    Type Description
    string
    Overrides
    EPCommandWithDescriptor.Title

    ToolTip

    A user friendly tool tip for this command functionality, by default the Description

    Declaration
    public override string ToolTip { get; }
    Property Value
    Type Description
    string
    Overrides
    EPCommandWithDescriptor.ToolTip

    Methods

    ClearParent()

    Declaration
    public void ClearParent()

    InternalCanExecute(object)

    Returns if this command can be executed or not from the client application UI

    You must override InternalCanExecute(object?) or InternalCanExecuteAsync(object?) in order to implement if it can be executed

    Declaration
    public override bool InternalCanExecute(object parameter)
    Parameters
    Type Name Description
    object parameter

    The command parameter

    Returns
    Type Description
    bool

    If this command can be executed or not from the client application UI

    Overrides
    EPCommand.InternalCanExecute(object?)

    InternalExecute(object)

    You must override InternalExecuteAsync(object) or InternalExecute(object) in order to implement your commands action

    Declaration
    public override void InternalExecute(object parameter)
    Parameters
    Type Name Description
    object parameter

    The command parameter

    Overrides
    EPCommand.InternalExecute(object)

    Implements

    IHasChildren<T>
    IHasChildren
    IDisposable
    IEPCommandWithDescriptor
    IEPCommand
    ICommand
    ICommandDescriptor

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.