Paints an area with a Visual.
Assembly: PresentationCore (in PresentationCore.dll)
Gets or sets a value that specifies whether this Visual.will run layout its
Gets a value that indicates whether the object can be made unmodifiable. (Inherited from Freezable.)
Gets a value that indicates whether the object is currently modifiable. (Inherited from Freezable.)
Gets a value that indicates whether this instance is currently sealed (read-only).(Inherited from DependencyObject.)
Gets or sets the transformation that is applied to the brush using relative coordinates. (Inherited from Brush.)
Gets or sets the transformation that is applied to the brush. This transformation is applied after the brush's output has been mapped and positioned. (Inherited from Brush.)
Gets or sets the brush's content.
|ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior)|
|BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)|
Creates a modifiable clone of this, making deep copies of this object's values.
Creates a modifiable clone of thisobject, making deep copies of this object's current values. Resource references, data bindings, and animations are not copied, but their current values are.
Re-evaluates the effective value for the specified dependency property(Inherited from DependencyObject.)
Returns the local value of a dependency property, if it exists. (Inherited from DependencyObject.)
Sets the value of a dependency property without changing its value source. (Inherited from DependencyObject.)
Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from DependencyObject.)
Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property.(Inherited from DependencyObject.)
Creates a string representation of this object based on the specified culture-specific formatting information. (Inherited from Brush.)
There are two ways to specify the Visual content of a .
When you define a new Visual for a and that Visual is a UIElement (such as a panel or control), the layout system runs on the UIElement and its child elements when the AutoLayoutContent property is set to true. However, the root UIElement is essentially isolated from the rest of the system; styles, storyboards, and external layout can't permeate this boundary. Therefore, you should explicitly specify the size of the root UIElement, because its only parent is the and therefore it cannot automatically size itself to the area being painted. For more information about layout in Windows Presentation Foundation (WPF), see the Layout.
Updates to the visual tree of a BitmapEffect is in the brush's parent chain. You can workaround this limitation by forcing an update of the scene on the object above the effect. You can call InvalidateVisual or include an animation to force a scene update.will not propagate if a
Freezable Features: Because it inherits from the Freezable class, the class provides several special features: objects can be declared as and shared among multiple objects. For more information about the different features provided by Freezable objects, see the Freezable Objects Overview.
A Visual property is set to any value other than null.cannot be made read-only (frozen) when its
Available since 3.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.