WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CommandBarWrappingEventArgs

    Show / Hide Table of Contents

    Class CommandBarWrappingEventArgs

    Provides information about the CommandBarWrapping event.

    Inheritance
    System.Object
    System.EventArgs
    CommandBarWrappingEventArgs
    Inherited Members
    System.EventArgs.Empty
    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.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class CommandBarWrappingEventArgs : EventArgs
    Remarks

    CommandBarWrappingEventArgs is a custom event argument class used by the CommandBar class for notifying users of wrap events and also for getting the new size of the CommandBar's client control during custom wrapping.

    Constructors

    CommandBarWrappingEventArgs(Size, CommandBarResizeType)

    Creates a new instance of the CommandBarWrappingEventArgs class.

    Declaration
    public CommandBarWrappingEventArgs(Size clientsize, CommandBarResizeType resizetype)
    Parameters
    Type Name Description
    System.Drawing.Size clientsize

    The current/proposed size of the CommandBar's client control.

    CommandBarResizeType resizetype

    A CommandBarResizeType value specifying the type of resizing.

    Fields

    cbResizeType

    Declaration
    protected CommandBarResizeType cbResizeType
    Field Value
    Type Description
    CommandBarResizeType

    szClient

    Declaration
    protected Size szClient
    Field Value
    Type Description
    System.Drawing.Size

    Properties

    ClientSize

    Gets / sets the current/proposed size of the CommandBar's client control.

    Declaration
    public Size ClientSize { get; set; }
    Property Value
    Type Description
    System.Drawing.Size

    A Size value indicating the width and height for the CommandBar's client control.

    CommandBarResizeType

    Returns the type of resizing taking place.

    Declaration
    public CommandBarResizeType CommandBarResizeType { get; }
    Property Value
    Type Description
    CommandBarResizeType

    A CommandBarResizeType value.

    See Also

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