diff --git a/Magnifier.md b/Magnifier.md index f464431..42a80ac 100644 --- a/Magnifier.md +++ b/Magnifier.md @@ -7,13 +7,12 @@ The Magnifier control does exactly what is sounds like. It allows a user to mag * [Properties](#properties) * [Example](#example) -{anchor:usage} -## Usage -![](Magnifier_magnifier.png) +### Usage +[[Magnifier_magnifier.png]] You can add the Magnifier to any element that is of type UIElement. This is done by using the MagnifierManager. You simply set the MagnifierManager.Magnifier property to the toolkit's Magnifier instance. The following snippet adds the Magnifier to the parent grid of a Window. -{{ +``` -}} +``` Now everything that is contained within the Grid will have the ability to be magnified. -{anchor:properties} -## Properties - +### Properties You can control the appearance of the Magnifier by setting some of the available properties. -|| Name || Description -| FrameType | Gets or sets the type of frame used by the Magnifier. -| Radius | Gets or sets the radius/size of the Magnifier -| Target | Gets or sets the UIElement to which the Magnifier is attached. -| ZoomFactor | Gets or sets the amount to zoom into an element. The value ranges from 0.0 to 1.0. The smaller the number, the further zoomed in you are. 1.0 is normal text or 100% of orignial size, 0.0 is the most you can zoom in. - -{anchor:example} -## Example +| Name | Description | +| --- | --- | +| FrameType | Gets or sets the type of frame used by the Magnifier. | +| Radius | Gets or sets the radius/size of the Magnifier. | +| Target | Gets or sets the UIElement to which the Magnifier is attached. | +| ZoomFactor | Gets or sets the amount to zoom into an element. The value ranges from 0.0 to 1.0. The smaller the number, the further zoomed in you are. 1.0 is normal text or 100% of orignial size, 0.0 is the most you can zoom in. | -![](Magnifier_magnifier_withborder.png) +### Example +[[Magnifier_magnifier_withborder.png]] The following code snippet attaches a Magnifier to a Window's parent Grid that has a Radius of 75, a red boder that is 1 pixel thick, and a ZoomFactor of 0.3526. -{{ +``` -}} +``` -**Support this project, check out the [Plus Edition](https://xceed.com/xceed-toolkit-plus-for-wpf/).** ---- \ No newline at end of file +--- +**Support this project, check out the [Plus Edition](https://xceed.com/xceed-toolkit-plus-for-wpf/).** \ No newline at end of file