Search Results for

    Show / Hide Table of Contents

    Class ContentHeightChangedEventArgs

    Arguments passed in the ContentHeightChanged event.

    Inheritance
    object
    EventArgs
    ContentHeightChangedEventArgs
    Inherited Members
    EventArgs.Empty
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Sdl.DesktopEditor.EditorApi
    Assembly: Sdl.DesktopEditor.EditorApi.dll
    Syntax
    public class ContentHeightChangedEventArgs : EventArgs

    Constructors

    ContentHeightChangedEventArgs()

    Default contructor, creates an uninitialized instance.

    Declaration
    public ContentHeightChangedEventArgs()

    ContentHeightChangedEventArgs(long, long)

    Create an instance initialized with the specified parameters.

    Declaration
    public ContentHeightChangedEventArgs(long previousHeight, long newHeight)
    Parameters
    Type Name Description
    long previousHeight
    long newHeight

    Properties

    NewHeight

    New height of the content after the vertical size change. This is the same value as is returned by the ContentHeight property.

    Declaration
    public long NewHeight { get; set; }
    Property Value
    Type Description
    long

    PreviousHeight

    Height of the content before the vertical size change. 0 if content was not previously sized.

    Declaration
    public long PreviousHeight { get; set; }
    Property Value
    Type Description
    long

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(object, Action<Window>)
    In this article
    • Constructors
      • ContentHeightChangedEventArgs()
      • ContentHeightChangedEventArgs(long, long)
    • Properties
      • NewHeight
      • PreviousHeight
    • Extension Methods
    Back to top Generated by DocFX