Class FocusManager
Class who's goal is to manage focus related actions.
Inheritance
System.Object
FocusManager
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: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Windows.dll
Syntax
public class FocusManager : IServiceReferenceHolder, IDisposable
Constructors
FocusManager()
Declaration
public FocusManager()
Properties
FocusedNode
Gets or sets the focused node.
Declaration
public Node FocusedNode { get; set; }
Property Value
Type | Description |
---|---|
Node | The focused node. |
WorkRect
Gets the working area.
Declaration
public Rectangle WorkRect { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Rectangle | The working area. |
Methods
Dispose()
Declaration
public void Dispose()
Draw(Graphics)
Draws the specified graphics.
Declaration
public virtual void Draw(Graphics gfx)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | gfx | Graphics to draw on. |
MoveFocusBackward()
Moves focus forward.
Declaration
public void MoveFocusBackward()
MoveFocusForward()
Moves focus backward.
Declaration
public void MoveFocusForward()
UpdateServiceReferences(IServiceReferenceProvider)
Updates the service references.
Declaration
public virtual void UpdateServiceReferences(IServiceReferenceProvider provider)
Parameters
Type | Name | Description |
---|---|---|
IServiceReferenceProvider | provider | The provider. |
Implements
System.IDisposable