Share via


CreateAction.StickyMode Property

Whether this action is in sticky mode or not. If in sticky mode, after creating one element, the action will not be deactivated, so the user can keep creating more elements of the same type without selecting the item from toolbox again.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Property StickyMode As Boolean
public bool StickyMode { get; set; }
public:
property bool StickyMode {
    bool get ();
    void set (bool value);
}
member StickyMode : bool with get, set
function get StickyMode () : boolean 
function set StickyMode (value : boolean)

Property Value

Type: Boolean

.NET Framework Security

See Also

Reference

CreateAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace