mirror of
https://github.com/VitalickS/BrightSharp.Toolkit.git
synced 2026-03-21 02:21:15 +00:00
Update zoomcontrol.md
This commit is contained in:
committed by
GitHub
parent
55d7370d45
commit
349abafd25
@@ -1,12 +1,12 @@
|
|||||||
### ZoomControl usage example
|
### ZoomControl usage example
|
||||||
|
|
||||||
`DraggableExtender` for `ZoomControl`. Example:
|
Example:
|
||||||
```xaml
|
```xaml
|
||||||
<bsCtrl:ZoomControl xmlns:bsCtrl="http://schemas.brightsharp.com/controls"
|
<diag:ZoomControl xmlns:diag="http://schemas.brightsharp.com/diagrams"
|
||||||
xmlns:bs="http://schemas.brightsharp.com/developer">
|
xmlns:bs="http://schemas.brightsharp.com/developer">
|
||||||
<Canvas>
|
<Canvas>
|
||||||
<Ellipse bs:DraggableExtender.CanDrag="true" Canvas.Left="37" Canvas.Top="110" Width="100" Height="100" Fill="Blue" />
|
<Ellipse Canvas.Left="37" Canvas.Top="110" Width="100" Height="100" Fill="Blue" />
|
||||||
<Rectangle bs:DraggableExtender.CanDrag="true" Canvas.Left="193" Canvas.Top="55" Width="100" Height="100" Fill="Black" />
|
<Rectangle Canvas.Left="193" Canvas.Top="55" Width="100" Height="100" Fill="Black" />
|
||||||
</Canvas>
|
</Canvas>
|
||||||
</bsCtrl:ZoomControl>
|
</diag:ZoomControl>
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user