Intersoft ClientUI Documentation
CallOutEffect Property
See Also  Send Feedback
Intersoft.Client.UI.Controls Namespace > CallOut Class : CallOutEffect Property






Gets or sets the pixel shader effect to use for rendering the call out element.

Syntax

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

Remarks

When you browse through CallOut properties, you would notice two similar Effect properties. The first is CallOutEffect and the other is Effect.

The difference between the two properties is the element of which the Bitmap Effect is applied. The CallOutEffect only applies the effect to CallOut shape, while Effect applies the effect to entire control’s element.

The following example shows the difference between using CallOutEffect and Effect.

XAML Copy Code
<StackPanel Orientation="Horizontal">
    <Intersoft:CallOut Foreground="White" Margin="4" 
        HorizontalAlignment="Center" VerticalAlignment="Center">
        <Intersoft:CallOut.CallOutEffect>
            <DropShadowEffect/>
        </Intersoft:CallOut.CallOutEffect>                                
        <TextBlock Text="TextBlock" FontSize="21.333" Margin="8"/>                                
    </Intersoft:CallOut>
    <Intersoft:CallOut Foreground="White" Margin="4" CallOutEffect="{x:Null}" 
        HorizontalAlignment="Center" VerticalAlignment="Center">
        <Intersoft:CallOut.Effect>
            <DropShadowEffect/>
        </Intersoft:CallOut.Effect>                                                               
        <TextBlock Text="TextBlock" FontSize="21.333" Margin="8"/>                                
    </Intersoft:CallOut>
</StackPanel>

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.