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
HeightProperty
public static readonly DependencyProperty HeightProperty
Field Value
HorizontalAlignmentProperty
public static readonly DependencyProperty HorizontalAlignmentProperty
Field Value
IsHitTestVisibleProperty
public static readonly DependencyProperty IsHitTestVisibleProperty
Field Value
IsMouseOverProperty
The is mouse over2 d property
public static readonly DependencyProperty IsMouseOverProperty
Field Value
MarginProperty
public static readonly DependencyProperty MarginProperty
Field Value
MaximumHeightProperty
public static readonly DependencyProperty MaximumHeightProperty
Field Value
MaximumWidthProperty
public static readonly DependencyProperty MaximumWidthProperty
Field Value
MinimumHeightProperty
public static readonly DependencyProperty MinimumHeightProperty
Field Value
MinimumWidthProperty
public static readonly DependencyProperty MinimumWidthProperty
Field Value
MouseDown2DEvent
public static readonly RoutedEvent MouseDown2DEvent
Field Value
MouseEnter2DEvent
public static readonly RoutedEvent MouseEnter2DEvent
Field Value
MouseLeave2DEvent
public static readonly RoutedEvent MouseLeave2DEvent
Field Value
MouseMove2DEvent
public static readonly RoutedEvent MouseMove2DEvent
Field Value
MouseUp2DEvent
public static readonly RoutedEvent MouseUp2DEvent
Field Value
RenderTransformOriginProperty
public static readonly DependencyProperty RenderTransformOriginProperty
Field Value
TransformProperty
public static readonly DependencyProperty TransformProperty
Field Value
VerticalAlignmentProperty
public static readonly DependencyProperty VerticalAlignmentProperty
Field Value
VisibilityProperty
public static readonly DependencyProperty VisibilityProperty
Field Value
WidthProperty
public static readonly DependencyProperty WidthProperty
Field Value
Properties
EnableBitmapCache
public bool EnableBitmapCache { get; set; }
Property Value
Height
public double Height { get; set; }
Property Value
HorizontalAlignment
public HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
IsHitTestVisible
public bool IsHitTestVisible { get; set; }
Property Value
IsMouseOver
Gets or sets a value indicating whether this instance is mouse over2 d.
public bool IsMouseOver { get; set; }
Property Value
- bool
trueif this instance is mouse over2 d; otherwise,false.
Margin
public Thickness Margin { get; set; }
Property Value
MaximumHeight
public double MaximumHeight { get; set; }
Property Value
MaximumWidth
public double MaximumWidth { get; set; }
Property Value
MinimumHeight
public double MinimumHeight { get; set; }
Property Value
MinimumWidth
public double MinimumWidth { get; set; }
Property Value
RenderTransformOrigin
public Point RenderTransformOrigin { get; set; }
Property Value
- Point
Transform
Render transform
public Transform? Transform { get; set; }
Property Value
VerticalAlignment
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
Visibility
public Visibility Visibility { get; set; }
Property Value
Width
public double Width { get; set; }
Property Value
Methods
OnMouseEnter2D(Mouse2DEventArgs?)
public virtual void OnMouseEnter2D(Mouse2DEventArgs? e)
Parameters
OnMouseLeave2D(Mouse2DEventArgs?)
public virtual void OnMouseLeave2D(Mouse2DEventArgs? e)
Parameters
OnMouseOverChanged(bool, bool)
protected virtual void OnMouseOverChanged(bool newValue, bool oldValue)
Parameters
Events
MouseDown2D
public event Element2D.Mouse2DRoutedEventHandler MouseDown2D
Event Type
MouseEnter2D
public event Element2D.Mouse2DRoutedEventHandler MouseEnter2D
Event Type
MouseLeave2D
public event Element2D.Mouse2DRoutedEventHandler MouseLeave2D
Event Type
MouseMove2D
public event Element2D.Mouse2DRoutedEventHandler MouseMove2D
Event Type
MouseUp2D
public event Element2D.Mouse2DRoutedEventHandler MouseUp2D
Event Type
Operators
implicit operator Element2D?(SceneNode2D)
public static implicit operator Element2D?(SceneNode2D s)