Intersoft ClientUI Documentation
OverlayBackground Property (UXDialogBox)
Example 



Gets or sets the brush used to paint the overlay background.
Syntax
<CategoryAttribute("Brushes")>
Public Property OverlayBackground As Brush
Dim instance As UXDialogBox
Dim value As Brush
 
instance.OverlayBackground = value
 
value = instance.OverlayBackground
[CategoryAttribute("Brushes")]
public Brush OverlayBackground {get; set;}
[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.
<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>
private void UXButton_Click(object sender, RoutedEventArgs e)
{
    editDialogBox.ShowDialog(null, (dialogResult) => { 
        
    });
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXDialogBox Class
UXDialogBox Members
Window and Dialog Boxes Overview

Send Feedback