menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FackItemsAdorner - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FackItemsAdorner

    Represents an System.Windows.Documents.Adorner class that provides the FakeItem Adorner.

    Inheritance
    System.Object
    FackItemsAdorner
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class FackItemsAdorner : Adorner

    Constructors

    FackItemsAdorner(FrameworkElement, UIElement, AdornerLayer)

    Initializes a new instance of the FackItemsAdorner class.

    Declaration
    public FackItemsAdorner(FrameworkElement dragDropData, UIElement adornedElement, AdornerLayer adornerLayer)
    Parameters
    Type Name Description
    System.Windows.FrameworkElement dragDropData

    The drag drop data.

    System.Windows.UIElement adornedElement

    The adorned element.

    System.Windows.Documents.AdornerLayer adornerLayer

    The adorner layer.

    Properties

    VisualChildrenCount

    Gets the number of visual child elements within this element.

    Declaration
    protected override int VisualChildrenCount { get; }
    Property Value
    Type
    System.Int32

    Methods

    ArrangeOverride(Size)

    When overridden in a derived class, positions child elements and determines a size for a System.Windows.FrameworkElement derived class.

    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.

    GetDesiredTransform(GeneralTransform)

    Returns a System.Windows.Media.Transform for the adorner, based on the transform that is currently applied to the adorned element.

    Declaration
    public override GeneralTransform GetDesiredTransform(GeneralTransform transform)
    Parameters
    Type Name Description
    System.Windows.Media.GeneralTransform transform

    The transform that is currently applied to the adorned element.

    Returns
    Type Description
    System.Windows.Media.GeneralTransform

    A transform to apply to the adorner.

    GetVisualChild(Int32)

    Overrides System.Windows.Media.Visual.GetVisualChild(System.Int32), and returns a child at the specified index from a collection of child elements.

    Declaration
    protected override Visual GetVisualChild(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index of the requested child element in the collection.

    Returns
    Type Description
    System.Windows.Media.Visual

    The requested child element. This should not return null; if the provided index is out of range, an exception is thrown.

    MeasureOverride(Size)

    Implements any custom measuring behavior for the adorner.

    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.

    Remove()

    Removes the FackItemsAdorner instance.

    Declaration
    public void Remove()

    SetPosition(Double, Double)

    Sets the position.

    Declaration
    public void SetPosition(double leftOffset, double topOffset)
    Parameters
    Type Name Description
    System.Double leftOffset

    The left offset.

    System.Double topOffset

    The top offset.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved