| Visual Basic (Declaration) | |
|---|---|
Public Class WindowClientAreaUIElement Inherits DesktopAlertUIElementBase | |
| C# | |
|---|---|
public class WindowClientAreaUIElement : DesktopAlertUIElementBase | |
The WindowClientAreaUIElement contains the following child elements:
- MainImageAreaUIElement (assuming the UltraDesktopAlert.ImageSize property is set to a non-empty value)"
- CaptionAreaUIElement (Office2007 style only)"
- ButtonBoxAreaUIElement (Office2007 style only)"
- FooterAreaUIElement"
Windows Live Messenger draws its background using a "split" gradient, where the top half has a VerticalBump gradient, and the bottom half has a solid background. To achieve this look, two WindowLiveMessengerClientAreaBackgroundUIElement instances are added to this element's ChildElements collection, one for the top half and another for the bottom half. The WindowLiveMessengerClientAreaBackgroundUIElement only appears under the WindowsLiveMessenger style, and only when the following properties of the UltraDesktopAlert.Appearance, or their AppStyling equivalents, have not been explicitly set:
- P:Infragistics.Win.AppearanceBase.BackGradientStyle"
- P:Infragistics.Win.AppearanceBase.BackHatchStyle"
- P:Infragistics.Win.AppearanceBase.ImageBackground"
When any of these properties have been explicitly set, the WindowLiveMessengerClientAreaBackgroundUIElements are not displayed, and the background is drawn in the usual manner for this element.
The visual appearance of the WindowClientAreaUIElement is determined by the UltraDesktopAlert.Appearance.
The name of the T:Infragistics.Win.AppStyling.UIRole for this element is DesktopAlertControlArea.