Table of Contents

Class Element2D

Namespace
HelixToolkit.WinUI.SharpDX.Elements2D
Assembly
HelixToolkit.WinUI.SharpDX.dll
public abstract class Element2D : Element2DCore, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IWinRTObject, IDynamicInterfaceCastable, IEquatable<Control>, IDisposable, ITransformable2D, IHitable2D
Inheritance
Element2D
Implements
IWinRTObject
Derived
Inherited Members

Constructors

Element2D()

public Element2D()

Fields

EnableBitmapCacheProperty

public static readonly DependencyProperty EnableBitmapCacheProperty

Field Value

DependencyProperty

HeightProperty

public static readonly DependencyProperty HeightProperty

Field Value

DependencyProperty

HorizontalAlignmentProperty

public static readonly DependencyProperty HorizontalAlignmentProperty

Field Value

DependencyProperty

IsHitTestVisibleProperty

public static readonly DependencyProperty IsHitTestVisibleProperty

Field Value

DependencyProperty

IsMouseOverProperty

The is mouse over2 d property

public static readonly DependencyProperty IsMouseOverProperty

Field Value

DependencyProperty

MarginProperty

public static readonly DependencyProperty MarginProperty

Field Value

DependencyProperty

MaximumHeightProperty

public static readonly DependencyProperty MaximumHeightProperty

Field Value

DependencyProperty

MaximumWidthProperty

public static readonly DependencyProperty MaximumWidthProperty

Field Value

DependencyProperty

MinimumHeightProperty

public static readonly DependencyProperty MinimumHeightProperty

Field Value

DependencyProperty

MinimumWidthProperty

public static readonly DependencyProperty MinimumWidthProperty

Field Value

DependencyProperty

MouseDown2DEvent

public static readonly RoutedEvent MouseDown2DEvent

Field Value

RoutedEvent

MouseEnter2DEvent

public static readonly RoutedEvent MouseEnter2DEvent

Field Value

RoutedEvent

MouseLeave2DEvent

public static readonly RoutedEvent MouseLeave2DEvent

Field Value

RoutedEvent

MouseMove2DEvent

public static readonly RoutedEvent MouseMove2DEvent

Field Value

RoutedEvent

MouseUp2DEvent

public static readonly RoutedEvent MouseUp2DEvent

Field Value

RoutedEvent

RenderTransformOriginProperty

public static readonly DependencyProperty RenderTransformOriginProperty

Field Value

DependencyProperty

TransformProperty

public static readonly DependencyProperty TransformProperty

Field Value

DependencyProperty

VerticalAlignmentProperty

public static readonly DependencyProperty VerticalAlignmentProperty

Field Value

DependencyProperty

VisibilityProperty

public static readonly DependencyProperty VisibilityProperty

Field Value

DependencyProperty

WidthProperty

public static readonly DependencyProperty WidthProperty

Field Value

DependencyProperty

Properties

EnableBitmapCache

public bool EnableBitmapCache { get; set; }

Property Value

bool

Height

public double Height { get; set; }

Property Value

double

HorizontalAlignment

public HorizontalAlignment HorizontalAlignment { get; set; }

Property Value

HorizontalAlignment

IsHitTestVisible

public bool IsHitTestVisible { get; set; }

Property Value

bool

IsMouseOver

Gets or sets a value indicating whether this instance is mouse over2 d.

public bool IsMouseOver { get; set; }

Property Value

bool

true if this instance is mouse over2 d; otherwise, false.

Margin

public Thickness Margin { get; set; }

Property Value

Thickness

MaximumHeight

public double MaximumHeight { get; set; }

Property Value

double

MaximumWidth

public double MaximumWidth { get; set; }

Property Value

double

MinimumHeight

public double MinimumHeight { get; set; }

Property Value

double

MinimumWidth

public double MinimumWidth { get; set; }

Property Value

double

RenderTransformOrigin

public Point RenderTransformOrigin { get; set; }

Property Value

Point

Transform

Render transform

public Transform? Transform { get; set; }

Property Value

Transform

VerticalAlignment

public VerticalAlignment VerticalAlignment { get; set; }

Property Value

VerticalAlignment

Visibility

public Visibility Visibility { get; set; }

Property Value

Visibility

Width

public double Width { get; set; }

Property Value

double

Methods

OnMouseEnter2D(Mouse2DEventArgs?)

public virtual void OnMouseEnter2D(Mouse2DEventArgs? e)

Parameters

e Mouse2DEventArgs

OnMouseLeave2D(Mouse2DEventArgs?)

public virtual void OnMouseLeave2D(Mouse2DEventArgs? e)

Parameters

e Mouse2DEventArgs

OnMouseOverChanged(bool, bool)

protected virtual void OnMouseOverChanged(bool newValue, bool oldValue)

Parameters

newValue bool
oldValue bool

Events

MouseDown2D

public event Element2D.Mouse2DRoutedEventHandler MouseDown2D

Event Type

Element2D.Mouse2DRoutedEventHandler

MouseEnter2D

public event Element2D.Mouse2DRoutedEventHandler MouseEnter2D

Event Type

Element2D.Mouse2DRoutedEventHandler

MouseLeave2D

public event Element2D.Mouse2DRoutedEventHandler MouseLeave2D

Event Type

Element2D.Mouse2DRoutedEventHandler

MouseMove2D

public event Element2D.Mouse2DRoutedEventHandler MouseMove2D

Event Type

Element2D.Mouse2DRoutedEventHandler

MouseUp2D

public event Element2D.Mouse2DRoutedEventHandler MouseUp2D

Event Type

Element2D.Mouse2DRoutedEventHandler

Operators

implicit operator Element2D?(SceneNode2D)

public static implicit operator Element2D?(SceneNode2D s)

Parameters

s SceneNode2D

Returns

Element2D