Table of Contents

Class AdornerProvider

Namespace
Alternet.FormDesigner.Wpf
Assembly
Alternet.FormDesigner.Wpf.v10.dll

Base class for extensions that present adorners on the screen.

public abstract class AdornerProvider : DefaultExtension
Inheritance
AdornerProvider
Derived

Remarks

Cider adorner introduction: http://blogs.msdn.com/jnak/archive/2006/04/24/580393.aspx Adorners are WPF elements that float on top of the design surface and track the size and location of the elements they are adorning. All of the UI the designer presents to the user, including snap lines, grab handles and grid rulers, is composed of these adorners. About design-time adorners and their placement: read http://myfun.spaces.live.com/blog/cns!AC1291870308F748!240.entry and http://myfun.spaces.live.com/blog/cns!AC1291870308F748!242.entry

Constructors

AdornerProvider()

Creates a new AdornerProvider instance.

Properties

Adorners

Gets the list of adorners displayed by this AdornerProvider.

Methods

AddAdorner(AdornerPlacement, AdornerOrder, UIElement)

Adds an UIElement as adorner with the specified placement.

AddAdorners(AdornerPlacement, params UIElement[])

Adds several UIElements as adorners with the specified placement.

OnInitialized()

Is called after the ExtendedItem was set. This methods displays the registered adorners

OnRemove()

Is called when the extension is removed. This method hides the registered adorners.