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(Int64, Int64)
Create an instance initialized with the specified parameters.
Declaration
public ContentHeightChangedEventArgs(long previousHeight, long newHeight)
Parameters
Type | Name | Description |
---|---|---|
Int64 | previousHeight | |
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 |
---|---|
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 |
---|---|
Int64 |