Skip to content

RichItemContainer

Mircea Staicu edited this page Aug 10, 2021 · 2 revisions

RichItemContainer Class

Namespace: RichCanvas

Assembly: RichCanvas

Inheritance: ObjectDispatcherObjectDependencyObjectVisualUIElementFrameworkElementControlContentControlRichItemContainer

References: RichItemsControl, PanningGrid

public class RichItemContainer : ContentControl  

Constructors

RichItemContainer()

public RichItemContainer();  

Fields

ApplyTransformProperty

public static DependencyProperty ApplyTransformProperty;  

Field Value

DependencyProperty

IsDraggableProperty

public static DependencyProperty IsDraggableProperty;  

Field Value

DependencyProperty

IsSelectableProperty

public static DependencyProperty IsSelectableProperty;  

Field Value

DependencyProperty

IsSelectedProperty

public static DependencyProperty IsSelectedProperty;  

Field Value

DependencyProperty

LeftProperty

public static DependencyProperty LeftProperty;  

Field Value

DependencyProperty

ScaleProperty

public static DependencyProperty ScaleProperty;  

Field Value

DependencyProperty

SelectedEvent

public static RoutedEvent SelectedEvent;  

Field Value

RoutedEvent

ShouldBringIntoViewProperty

public static DependencyProperty ShouldBringIntoViewProperty;  

Field Value

DependencyProperty

TopProperty

public static DependencyProperty TopProperty;  

Field Value

DependencyProperty

UnselectedEvent

public static RoutedEvent UnselectedEvent;  

Field Value

RoutedEvent

Properties

Host

The RichItemsControl that owns this ItemContainer.

public RichItemsControl Host { get; set; }  

Property Value

RichItemsControl

IsDraggable

Gets or sets whether this RichItemContainer can be dragged on RichItemsControl.ItemsHost True by default

public bool IsDraggable { get; set; }  

Property Value

Boolean

IsSelectable

Gets or sets whether this RichItemContainer can be selected. True by default

public bool IsSelectable { get; set; }  

Property Value

Boolean

IsSelected

Gets or sets a value that indicates whether this item is selected. Can only be set if RichItemContainer.IsSelectable is true.

public bool IsSelected { get; set; }  

Property Value

Boolean

Left

Gets or sets the Left position of this RichItemContainer on RichItemsControl.ItemsHost

public double Left { get; set; }  

Property Value

Double

Scale

Gets this RichItemContainer ScaleTransform in order to get direction.

public Point Scale { get; set; }  

Property Value

Point

ShouldBringIntoView

Gets or sets whether this RichItemContainer should be centered inside RichItemsControl.ScrollContainer viewport

public bool ShouldBringIntoView { get; set; }  

Property Value

Boolean

Top

Gets or sets the Top position of this RichItemContainer on RichItemsControl.ItemsHost

public double Top { get; set; }  

Property Value

Double

Methods

GetApplyTransform(UIElement)

public static Transform GetApplyTransform(UIElement element);  

Parameters

element UIElement

Returns

Transform

OnMouseEnter(MouseEventArgs)

protected override void OnMouseEnter(MouseEventArgs e);  

Parameters

e MouseEventArgs

OnMouseLeave(MouseEventArgs)

protected override void OnMouseLeave(MouseEventArgs e);  

Parameters

e MouseEventArgs

SetApplyTransform(UIElement, Transform)

public static void SetApplyTransform(UIElement element, Transform value);  

Parameters

element UIElement

value Transform