Class ContentHeightChangedEventArgs
Arguments passed in the ContentHeightChanged event.
Inherited Members
Namespace: SdlSdl.DesktopEditorEditorApi
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 |