Click or drag to resize

WindowLayout Class

Window Layout class.

This class will trigger WindowLayoutChange event.

Inheritance Hierarchy
SystemObject
  Crestron.SimplSharpPro.DMWindowLayout

Namespace: Crestron.SimplSharpPro.DM
Assembly: Crestron.SimplSharpPro.DM (in Crestron.SimplSharpPro.DM.dll) Version: 2.21.121
Syntax
C#
public sealed class WindowLayout : IParentInformation

The WindowLayout type exposes the following members.

Properties
 NameDescription
Public propertyAudioSource Property to set the audio source for the HDMI, DM and Analog Outputs.
Public propertyAudioSourceFeedback Property to report the window audio source.

This property will trigger WindowLayoutChange event with AudioSourceFeedbackEventId.

Public propertyLayout Property to set the window layout type.
Public propertyLayoutFeedback Property to report the current window layout type.

This property will trigger WindowLayoutChange event with LayoutFeedbackEventId.

Public propertyParent The parent that the object class is added to.
Public propertyPipLocation Property to set PIP Location.
Public propertyPipLocationCustomX Property to set the x location of the PIP window in pixels.
Public propertyPipLocationCustomXFeedback Property to report the current x location of the PIP window in pixels.

This property will trigger WindowLayoutChange event with PipLocationCustomXFeedbackEventId.

Public propertyPipLocationCustomY Property to set the y location of the PIP window in pixels.
Public propertyPipLocationCustomYFeedback Property to report the y location of the PIP window in pixels.

This property will trigger WindowLayoutChange event with PipLocationCustomYFeedbackEventId.

Public propertyPipLocationFeedback Property to report the current PIP Location.

This property will trigger WindowLayoutChange event with PipLocationFeedbackEventId.

Public propertyPipWindowCustomHeight Property to set the height of the PIP window.
Public propertyPipWindowCustomHeightFeedback Property to report the height of the PIP window.

This property will trigger WindowLayoutChange event with PipWindowCustomHeightFeedbackEventId.

Public propertyPipWindowCustomWidth Property to set the width of the PIP window.
Public propertyPipWindowCustomWidthFeedback Property to report the width of the PIP window.

This property will trigger WindowLayoutChange event with PipWindowCustomWidthFeedbackEventId.

Public propertyPipWindowSize Property to set the size of the PIP window.
Public propertyPipWindowSizeFeedback Property to report the current size of the PIP window.

This property will trigger WindowLayoutChange event with PipWindowSizeFeedbackEventId.

Public propertyTitleBackgroundColor Property to set the Window Title Background Color. This property is supported by HD-WP-4K-401-C device only.
Public propertyTitleBackgroundColorFeedback Property to report the Window Title Background Color. This property is supported by HD-WP-4K-401-C device only.

This property will trigger WindowLayoutChange event with TitleBackgroundColorFeedbackEventId.

Public propertyTitleBackgroundCustomColor Property to set title background color in hex triplet (#1122CC). Case insensitive. This property is supported by HD-WP-4K-401-C device only.
Public propertyTitleBackgroundCustomColorFeedback Property to return title background custom color in hex triplet (#1122CC). Case insensitive. This property is supported by HD-WP-4K-401-C device only.

This property will trigger WindowLayoutChange event with TitleBackgroundCustomColorFeedbackEventId.

Public propertyTitleBackgroundTransparency Property to set the Window title background transparency. Range: Minimum: 0, Maximum: 100, Resolution: 1 This property is supported by HD-WP-4K-401-C device only.
Public propertyTitleBackgroundTransparencyFeedback Property to report the Window title background transparency. Range: Minimum: 0, Maximum: 100, Resolution: 1 This property is supported by HD-WP-4K-401-C device only.

This property will trigger WindowLayoutChange event with TitleBackgroundTransparencyFeedbackEventId.

Public propertyTitleFontColor Property to set the Window Title Font Color. This property is supported by HD-WP-4K-401-C device only.
Public propertyTitleFontColorCustom Property to set title font custom color in hex triplet (#1122CC). Case insensitive. This property is supported by HD-WP-4K-401-C device only.
Public propertyTitleFontColorCustomFeedback Property to return title font custom color in hex triplet (#1122CC). Case insensitive. This property is supported by HD-WP-4K-401-C device only.

This property will trigger WindowLayoutChange event with TitleFontColorCustomFeedbackEventId.

Public propertyTitleFontColorFeedback Property to report the current Window Title Font Color. This property is supported by HD-WP-4K-401-C device only.

This property will trigger WindowLayoutChange event with TitleFontColorFeedbackEventId.

Public propertyTitleFontColorTransparency Property to set the Window title font transparency. Range: Minimum: 0, Maximum: 100, Resolution: 1 This property is supported by HD-WP-4K-401-C device only.
Public propertyTitleFontColorTransparencyFeedback Property to report the Window title font transparency. Range: Minimum: 0, Maximum: 100, Resolution: 1 This property is supported by HD-WP-4K-401-C device only.

This property will trigger WindowLayoutChange event with TitleFontColorTransparencyFeedbackEventId.

Public propertyTitleFontSize Property to set the Window Title Font Size.
Public propertyTitleFontSizeFeedback Property to report the Window Title Font Size.

This property will trigger WindowLayoutChange event with TitleFontSizeFeedbackEventId.

Public propertyTitleLocation Property to set the Window Title Location.
Public propertyTitleLocationFeedback Property to report the current Window Title Location.

This property will trigger WindowLayoutChange event with TitleLocationFeedbackEventId.

Public propertyTitlesDisabledFeedback Property to indicate that the window titles are disabled.

This property will trigger WindowLayoutChange event with TitlesDisabledEventId.

Public propertyTitlesEnabledFeedback Property to indicate that the window titles are enabled.

This property will trigger WindowLayoutChange event with TitlesEnabledEventId.

Public propertyUserSpecifiedObject Can be assigned anything that user wants.
Public propertyVideoSourceFeedback Collection of video source type feedbacks for the windows.

This property will trigger WindowLayoutChange event with VideoSourceFeedbackEventId and Index gives the index into the VideoSourceFeedback collection.

Top
Methods
 NameDescription
Public methodDisableTitles Method to disable window titles.
Public methodEnableTitles Method to enable window titles.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetAspectRatio Method to get the aspect ratio value for the specified window. This method is supported by HD-WP-4K-401-C device only.
Public methodGetAspectRatioFeedback Method to return the aspect ratio for the specified window. This property is supported by HD-WP-4K-401-C device only.

This property will trigger WindowLayoutChange event with AspectRatioFeedbackEventId and Index gives the parameter value (window number) into the GetAspectRatioFeedback(UInt32) method.

Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetVideoSource Method to get the video source type for the specified window.
Public methodSetAspectRatio Method to set the aspect ratio value for the specified window. This method is supported by HD-WP-4K-401-C device only.
Public methodSetVideoSource Method to set the video source type for the specified window.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventWindowLayoutChange Event triggered when a feedback has changed for this WindowLayout. Event is triggered with 'sender' set to the WindowLayout that that event is received on and EventId set to one of the WindowLayoutEventIds.
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also