[]
Provides a surface for painting UI elements over the arbitrary layout.
[TemplatePart(Name = "PART_ElementsCanvas", Type = typeof(Canvas))]
public class CoverElementsPane : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IWeakEventListener
CoverElementsPane allows you to visually represent a set of UI elements relative to UI elements representing the underlying UI.
Name | Description |
---|---|
CoverElementsPane() | Initializes the new instance of the CoverElementsPane pane. |
Name | Description |
---|---|
CoverElementsMarginProperty | Identifies the CoverElementsMargin dependency property. |
CoverElementsOverflowProperty | Identifies the CoverElementsOverflow attached property. Being set to true on a covered element that has the OrientationProperty property set, indicates that there are too many covering elements to be represented in the element. |
CoverElementsSizeProperty | Identifies the CoverElementsSize dependency property. |
IsDragDropDisabledProperty | Identifies the IsDragDropDisabled dependency property. |
OrientationProperty | Identifies the Orientation attached property. |
OwnerProperty | Identifies the Owner dependency property. |
PaneNameProperty | Identifies the PaneName attached property. If you use several CoverElementsPane objects in a single template, you should specify this property on a covered element that has the OrientationProperty property set. Set this value to the value of the Name property of the corresponding CoverElementsPane object. |
_isAboutToUnload | Determines whether the pane is about to be unloaded. |
_lastStart | Might be used in derived classes during HostElementsList collection. |
_needSort | Determines whether HostElementsList should be sorted after it is filled. |
Name | Description |
---|---|
ChunkBreakingAngle | Gets or sets a double value specifying the breaking angle for painted UI elements. |
ContentKind | Gets or sets the type of content acceptable by the current instance of CoverElementsPane. |
CoverElementsMargin | Gets or sets a double value, determining margins of the cover elements. |
CoverElementsSize | Gets or sets a double value, determining the size of the cover elements. This is dependency property. |
DataCoverElements | Gets a list of CoverElement objects that are drawn on this CoverElementPane. |
ExtendOnOverflow | Gets or sets a bool value, specifying the CoverElementsPane |
IsDragDropDisabled | Gets or sets a bool value that indicates whether the CoverElementsPane doesn't allow resizing and drag operations. This is a dependency property. |
Owner | Gets the object representing the CoverElementsPane object owner. This is a dependency property. Default value is null. |
SizingType | Gets or sets the SizingType values specifying how CoverElementsPane determines UI elements size. The default value is SizingType.Fixed. |
Name | Description |
---|---|
GetCoverElement(object) | Creates new wrapper to represent cover element. |
GetCoverElementsOverflow(FrameworkElement) | Gets the value of the CoverElementsOverflow attached property for a given framework element. |
GetHosts() | Gets the list of the FrameworkElement elements, which are the root of visual tree to search covered elements. |
GetLaneSize(SizingType, object, double, int) | Returns the size which should be used to draw cover element according to specified sizing type, available space and total lane count. |
GetOrientation(FrameworkElement) | Gets the value of the Orientation attached property for a given framework element. |
GetPaneName(FrameworkElement) | Gets the value of the PaneName attached property for a given framework element. |
IsHostElementInternal(FrameworkElement) | Checks whether specified element is hosted in the same host as the current CoverElementsPane instance. |
IsPaneElementInternal(FrameworkElement) | Checks whether specified element is covered by the current CoverElementsPane instance. |
OnApplyTemplate() | Overrides the default behavior. |
OnMouseDown(MouseButtonEventArgs) | |
OnMouseLeave(MouseEventArgs) | |
OnMouseLeftButtonDown(MouseButtonEventArgs) | |
OnMouseLeftButtonUp(MouseButtonEventArgs) | Overrides the default behavior. |
OnMouseMove(MouseEventArgs) | Overrides the default behavior. |
ReceiveWeakEvent(Type, object, EventArgs) | Receives events from the centralized event manager. |
SetCoverElementsOverflow(FrameworkElement, bool) | Sets the value of the CoverElementsOverflow attached property for a given framework element. |
SetOrientation(FrameworkElement, Orientation?) | Sets the value of the Orientation attached property for a given framework element. |
SetPaneName(FrameworkElement, string) | Sets the value of the PaneName attached property for a given framework element. |