Rediger

Del via


SelectionGlyph Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Provides methods and properties for all glyph classes that an ActivityDesigner displays when it is selected on the workflow design surface.

public ref class SelectionGlyph abstract : System::Workflow::ComponentModel::Design::DesignerGlyph
public abstract class SelectionGlyph : System.Workflow.ComponentModel.Design.DesignerGlyph
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class SelectionGlyph : System.Workflow.ComponentModel.Design.DesignerGlyph
type SelectionGlyph = class
    inherit DesignerGlyph
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type SelectionGlyph = class
    inherit DesignerGlyph
Public MustInherit Class SelectionGlyph
Inherits DesignerGlyph
Inheritance
SelectionGlyph
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Some glyphs that are displayed on an activity designer can be selected by the user while others cannot. When a user selects a glyph that can be selected, the glyph changes appearance on the activity design surface. The SelectionGlyph class is the base class for all glyph classes that change appearance when a user selects it on the activity design surface.

Notes to Implementers

When you inherit from SelectionGlyph, you must override the following member: IsPrimarySelection.

Constructors

SelectionGlyph()

When implemented in a derived class, initializes a new instance of the SelectionGlyph class.

Fields

HighestPriority

Represents the highest priority possible for a DesignerGlyph. This value is a constant.

(Inherited from DesignerGlyph)
LowestPriority

Represents the lowest priority possible for a DesignerGlyph. This value is a constant.

(Inherited from DesignerGlyph)
NormalPriority

Represents the normal priority for a DesignerGlyph. This value is a constant.

(Inherited from DesignerGlyph)

Properties

CanBeActivated

Gets a value indicating whether the DesignerGlyph can gain focus on the ActivityDesigner with which it is associated.

(Inherited from DesignerGlyph)
IsPrimarySelection

When overridden in a derived class, gets a value indicating whether the selection glyph is the primary of all selected glyphs on the design surface.

Priority

Gets the view priority of the glyph on the activity designer.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetBounds(ActivityDesigner, Boolean)

Returns the bounds for the selection glyph on the specified ActivityDesigner.

GetGrabHandles(ActivityDesigner)

Returns an array of rectangles that represents the selected glyph's grab handles.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnActivate(ActivityDesigner)

Indicates to the glyph that an action has been performed which has activated the glyph.

(Inherited from DesignerGlyph)
OnPaint(Graphics, Boolean, AmbientTheme, ActivityDesigner)

Performs any tasks required to render the glyph on the activity designer surface.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to