Xceed Toolkit Plus for WPF v4.6 Documentation
AutoWrapContentWithViewbox Property


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Zoombox Namespace > Zoombox Class : AutoWrapContentWithViewbox Property
 Gets or sets whether the content of the Zoombox is wrapped in a Viewbox.
Syntax
'Declaration
 
Public Property AutoWrapContentWithViewbox As Boolean
'Usage
 
Dim instance As Zoombox

Dim value As Boolean

 

instance.AutoWrapContentWithViewbox = value

 

value = instance.AutoWrapContentWithViewbox
public bool AutoWrapContentWithViewbox {get; set;}

Property Value

By default, the content of the Zoombox control will be wrapped within a Viewbox element (unless the content is already a Viewbox). The viewbox ensures that the content does not get clipped by its parent and that it renders correctly within the visual brush used in the view finder. Some elements, like Image, have built-in viewbox behaviors. This property can be set to False for such elements to prevent the extra wrapping layer. However, if this causes the content to appear incorrectly in the view finder, try setting this property back to True.
Requirements

Target Platforms: Windows 11, Windows 10, 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

Zoombox Class
Zoombox Members