menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FocusManager - API Reference

    Show / Hide Table of Contents

    Class FocusManager

    Class who's goal is to manage focus related actions.

    Inheritance
    System.Object
    FocusManager
    Implements
    IServiceReferenceHolder
    System.IDisposable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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

    IServiceReferenceHolder
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved