| Visual Basic (Declaration) | |
|---|---|
Public Property BitmapEffect As BitmapEffect | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public BitmapEffect BitmapEffect {get; set;} | |
| C++/CLI | |
|---|---|
public: property BitmapEffect BitmapEffect { BitmapEffect get(); void set (BitmapEffect value); } | |
| XAML Syntax | |
|---|---|
| For XAML information, see the BitmapEffect type. | |
| Dependencies Property Information | |
|---|---|
Identifier field | |
Metadata properties set to true | AffectsRender |
| XAML Syntax | |
|---|---|
| For XAML information, see the BitmapEffect type. | |
| Dependencies Property Information | |
|---|---|
Identifier field | |
Metadata properties set to true | AffectsRender |
Return Value
The bitmap effect value for the BitmapSourceViewerElement. The default value is a null.This example uses the BitmapEffect property to apply a bitmap effect on a specified geometry.
| Visual Basic | Copy Code |
|---|---|
Public Sub BitmapSourceViewerElement_BitmapEffect(ByVal viewer As BitmapSourceViewerElement) | |
| C# | Copy Code |
|---|---|
public void BitmapSourceViewerElement_BitmapEffect(BitmapSourceViewer viewer) | |
| XAML | Copy Code |
|---|---|
<Window x:Class="WPFSamples.BitmapSourceViewerElement" Height="600" Width="800" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Leadtools_Windows_Controls="clr-namespace:Leadtools.Windows.Controls;assembly=Leadtools.Windows.Controls"> | |
If the Geometry property is not null the BitmapEffect will be applied to this Geometry only.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family