Class Lockable
A view command that can toggle a view between being locked and unlocked for editing. The controller must implement ILockableController
Toggling this will unlock/lock all views that implement ILockableController
Inheritance
System.Object
    
    
    
    
    
    
    Lockable
  Implements
System.IDisposable
    
    
    System.Windows.Input.ICommand
    
  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.Commands.ViewCommands
Assembly: ClientCore.dll
Syntax
public class Lockable : SingleToggleCommand, IHasChildren<EPCommandWithDescriptor>, IHasChildren, IDisposable, IEPCommandWithDescriptor, IEPCommand, ICommand, ICommandDescriptor
  Constructors
Lockable(ILockableController)
Creates a new Lockable command
Declaration
public Lockable(ILockableController controller)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ILockableController | controller | The controller that holds if the view can be edited/locked  | 
      
Properties
Description
Declaration
public override string Description { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Overrides
IconID
Declaration
public override Guid IconID { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Guid | 
Overrides
IncludeInSimple
Declaration
public override bool IncludeInSimple { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
OverlayIconID
Declaration
public override Guid? OverlayIconID { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Nullable<System.Guid> | 
Overrides
Title
Declaration
public override string Title { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Overrides
ToolTip
Declaration
public override string ToolTip { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Overrides
Methods
InternalCanExecute(Object)
Returns true if the LockableHandler CanLock is true
Declaration
public override bool InternalCanExecute(object parameter)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | parameter | The command parameter  | 
      
Returns
| Type | Description | 
|---|---|
| System.Boolean | True if the LockableHandler CanLock is true  | 
      
Overrides
Implements
      System.IDisposable
  
  
  
  
      System.Windows.Input.ICommand