Редагувати

Поділитися через


ActivityDesignerLayoutEventArgs Class

Definition

Caution

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

Provides data for the layout event for the ActivityDesigner.

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

Remarks

Note

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

The layout event occurs when the size or position of the designer or its contained components change. The ActivityDesignerLayoutEventArgs contains the graphics used to make layout changes and the designer theme to use for look and feel.

Constructors

ActivityDesignerLayoutEventArgs(Graphics, ActivityDesignerTheme)

Initializes a new instance of the ActivityDesignerLayoutEventArgs class with the specified graphics and designer theme.

Properties

AmbientTheme

Gets the AmbientTheme associated with the root workflow.

DesignerTheme

Gets the ActivityDesignerTheme associated with the designer.

Graphics

Gets the Graphics used to lay out the designer.

Methods

Equals(Object)

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

(Inherited from Object)
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)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to