Class ContentHeightChangedEventArgs
Arguments passed in the ContentHeightChanged event.
Inheritance
System.Object
System.EventArgs
ContentHeightChangedEventArgs
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: 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(Int64, Int64)
Create an instance initialized with the specified parameters.
Declaration
public ContentHeightChangedEventArgs(long previousHeight, long newHeight)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | previousHeight | |
System.Int64 | 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 |
---|---|
System.Int64 |
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 |
---|---|
System.Int64 |