Search Results for

    Show / Hide Table of Contents

    Class GridColumnsVisible

    A custom view command of type ColumnSelector

    Inheritance
    System.Object
    BaseHasChildren<EPCommandWithDescriptor>
    EPCommand
    EPCommandWithDescriptor
    ViewCommand
    ViewCustomCommand
    GridColumnsVisible
    Implements
    IHasChildren<EPCommandWithDescriptor>
    IHasChildren
    System.IDisposable
    IEPCommandWithDescriptor
    IEPCommand
    System.Windows.Input.ICommand
    ICommandDescriptor
    Inherited Members
    ViewCommand.Type
    EPCommandWithDescriptor.ICommandDescriptor.Title
    EPCommandWithDescriptor.OverlayIconID
    EPCommandWithDescriptor.Parameter
    EPCommandWithDescriptor.HelpURL
    EPCommand.ActiveDisplayerFromOwner
    EPCommand.LoadChildrenAsync()
    EPCommand.ReloadChildrenOnEachOpen
    EPCommand.HasChildCommands
    EPCommand.SetToggler(IHasToggleStatus)
    EPCommand.Seperator
    EPCommand.Owner
    EPCommand.CanExecuteChanged
    EPCommand.OnCanExecuteChanged()
    EPCommand.SubscribeToLayoutChange
    EPCommand.OnLayoutsChanged(IModelLayouHost, LayoutChangeEventArgs)
    EPCommand.ICommand.Execute(Object)
    EPCommand.ExternalExecute(Object)
    EPCommand.InternalExecute(Object)
    EPCommand.LockExecution
    EPCommand.ICommand.CanExecute(Object)
    EPCommand.ExternalCanExecute(Object)
    EPCommand.InternalCanExecuteAsync(Object)
    EPCommand.Toggler
    EPCommand.CustomType
    EPCommand.Key
    EPCommand.ModifierKeys
    EPCommand.GetModifierText(IEPCommand)
    EPCommand.RemoveEventHandlersOnDispose()
    EPCommand.Dispose(Boolean)
    EPCommand.Dispose()
    BaseHasChildren<EPCommandWithDescriptor>.Order
    BaseHasChildren<EPCommandWithDescriptor>.Children
    BaseHasChildren<EPCommandWithDescriptor>.AddChild(EPCommandWithDescriptor)
    BaseHasChildren<EPCommandWithDescriptor>.DeleteChild(EPCommandWithDescriptor)
    BaseHasChildren<EPCommandWithDescriptor>.ClearChildren()
    BaseHasChildren<EPCommandWithDescriptor>.Parent
    BaseHasChildren<EPCommandWithDescriptor>.AddChild(IHasChildren)
    BaseHasChildren<EPCommandWithDescriptor>.DeleteChild(IHasChildren)
    BaseHasChildren<EPCommandWithDescriptor>.IHasChildren.Children
    BaseHasChildren<EPCommandWithDescriptor>.IHasChildren.Parent
    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.Commands.ViewCommands
    Assembly: ClientCore.dll
    Syntax
    public class GridColumnsVisible : ViewCustomCommand, IHasChildren<EPCommandWithDescriptor>, IHasChildren, IDisposable, IEPCommandWithDescriptor, IEPCommand, ICommand, ICommandDescriptor

    Constructors

    GridColumnsVisible(BaseGridController)

    Creates a new GridColumnsVisible command

    Declaration
    public GridColumnsVisible(BaseGridController gridController)
    Parameters
    Type Name Description
    BaseGridController gridController

    The grid controller this command executes against to show/hide column visibility

    Properties

    Description

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

    IconID

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

    IncludeInSimple

    Declaration
    public override bool IncludeInSimple { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    ViewCommand.IncludeInSimple

    Title

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

    ToolTip

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

    ViewController

    The grid controller this command operates against

    Declaration
    public override ModelViewController ViewController { get; }
    Property Value
    Type Description
    ModelViewController
    Overrides
    ViewCustomCommand.ViewController

    Methods

    AddManualColumnVisibleChange(String, Boolean)

    Used by the UI specific implementation of showing/hiding columns. Indicates the specified column has been made visible/hidden by the user.

    Can be retrieved from IsManualVisible(String)

    Declaration
    public void AddManualColumnVisibleChange(string bindingPath, bool isVisible)
    Parameters
    Type Name Description
    System.String bindingPath

    The binding property of the column that was hidden/visible

    System.Boolean isVisible

    Indicates if the user manually hid or showed the column

    InternalCanExecute(Object)

    Declaration
    public override bool InternalCanExecute(object parameter)
    Parameters
    Type Name Description
    System.Object parameter
    Returns
    Type Description
    System.Boolean
    Overrides
    EPCommand.InternalCanExecute(Object)

    InternalExecuteAsync(Object)

    Does not actually execute any command, as this has to be specifically executed in the client application through a custom approach depending on the UI itself

    Declaration
    public override Task InternalExecuteAsync(object parameter)
    Parameters
    Type Name Description
    System.Object parameter

    The command parameter

    Returns
    Type Description
    System.Threading.Tasks.Task

    Returns immediately

    Overrides
    EPCommand.InternalExecuteAsync(Object)

    IsManualVisible(String)

    Indicates if the user has manualy hidden or shown the specified column. Returns null if the user has not set it at all.

    Declaration
    public bool? IsManualVisible(string bindingPath)
    Parameters
    Type Name Description
    System.String bindingPath

    The column to check if the user has changed the visibility of

    Returns
    Type Description
    System.Nullable<System.Boolean>

    Return if the user has manualy hidden or shown the specified column. Returns null if the user has not set it at all.

    Implements

    IHasChildren<T>
    IHasChildren
    System.IDisposable
    IEPCommandWithDescriptor
    IEPCommand
    System.Windows.Input.ICommand
    ICommandDescriptor

    Extension Methods

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