Class MagnifierAdorner
An adorner that is being created when Magnifier is added to an application. This class is internally used by Magnifier.
Inheritance
System.Object
MagnifierAdorner
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class MagnifierAdorner : Adorner
Constructors
MagnifierAdorner(UIElement, Magnifier)
Initializes a new instance of the MagnifierAdorner class.
Declaration
public MagnifierAdorner(UIElement element, Magnifier magnifier)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.UIElement | element | The element. |
Magnifier | magnifier | The magnifier. |
Properties
VisualChildrenCount
Gets the number of visual child elements within this element.
Declaration
protected override int VisualChildrenCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 | Visual Children count |
Methods
ArrangeOverride(Size)
Override for Magnifier usage purposes.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | finalSize | The final area within the parent that this element should use to arrange itself and its children. |
Returns
Type | Description |
---|---|
System.Windows.Size | The actual size used. |
GetVisualChild(Int32)
Override for Magnifier usage purposes.
Declaration
protected override Visual GetVisualChild(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Not used in this method. |
Returns
Type | Description |
---|---|
System.Windows.Media.Visual | The Magnifier the Adorner is associated with. |
MeasureOverride(Size)
Override for Magnifier usage purposes.
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | constraint | A size to constrain the adorner to. |
Returns
Type | Description |
---|---|
System.Windows.Size | A System.Windows.Size object representing the amount of layout space needed by the adorner. |