Intersoft ClientUI Documentation
OverlayBackground Property
See Also  Example Send Feedback
Intersoft.Client.UI.Aqua.UXDesktop Namespace > UXDialogBox Class : OverlayBackground Property






Gets or sets the brush used to paint the overlay background.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Brushes")>
Public Property OverlayBackground As Brush
Visual Basic (Usage)Copy Code
Dim instance As UXDialogBox
Dim value As Brush
 
instance.OverlayBackground = value
 
value = instance.OverlayBackground
C# 
[CategoryAttribute("Brushes")]
public Brush OverlayBackground {get; set;}
Delphi 
public read-write property OverlayBackground: Brush; 
JScript 
CategoryAttribute("Brushes")
public function get,set OverlayBackground : Brush
Managed Extensions for C++ 
[CategoryAttribute("Brushes")]
public: __property Brush* get_OverlayBackground();
public: __property void set_OverlayBackground( 
   Brush* value
);
C++/CLI 
[CategoryAttribute("Brushes")]
public:
property Brush^ OverlayBackground {
   Brush^ get();
   void set (    Brush^ value);
}

Example

The following example shows how to set OverlayBackground property and using ShowDialog method to display.
XAMLCopy Code
<Intersoft:UXDialogBox Header="Title" Name="editDialogBox" 
                       Width="150" Height="150" HorizontalAlignment="Left" 
                       VerticalAlignment="Top" OverlayBackground="Black">
    <Grid Background="Transparent">
        <TextBlock Text="Content"></TextBlock>
    </Grid>
</Intersoft:UXDialogBox>
C#Copy Code
private void UXButton_Click(object sender, RoutedEventArgs e)
{
    editDialogBox.ShowDialog(null, (dialogResult) => { 
        
    });
}

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.