Namespace Alternet.FormDesigner.Wpf
Classes
- AdornerLayer
A control that displays adorner panels.
- AdornerPlacement
Defines how a design-time adorner is placed.
- AdornerProvider
Base class for extensions that present adorners on the screen.
- ArrangeItemsContextMenu
ArrangeItemsContextMenu
- BehaviorExtension
Base class for extensions that provide a behavior interface for the designed item. These extensions are always loaded. They must have an parameter-less constructor.
- CanvasPlacementSupport
Provides IPlacementBehavior behavior for Canvas.
- CanvasPositionHandle
Adorner that displays the margin of a control in a Grid.
- Category
View-Model class for a property grid category.
- ChangeGroup
Base class for change groups.
- ChooseClassDialog
ChooseClassDialog
- ClickOrDragMouseGesture
Base class for mouse gestures that should start dragging only after a minimum drag distance.
- CodeGenerationUtility
Stores a set of options used for form designer code generation.
- ColorHelper
Provides additional functionality for System.Drawing.Color objects.
- ComponentAssemblyReferenceAdder
A utility class is used to add all references related to the specific component.
- ComponentAssemblyReferenceAdder.ResolveReferenceEventArgs
Provides data for the
ResolveAssemblyName
handler.
- CreateComponentTool
A tool that creates a component.
- CustomInstanceFactory
A special kind of extension that is used to create instances of objects when loading XAML inside the designer.
- DefaultCommandsContextMenu
DefaultCommandsContextMenu
- DefaultExtension
Base class for extensions that have an parameter-less constructor and are initialized using the OnInitialize method.
- DefaultExtensionServer
Base class for extension servers that create extensions that derive from DefaultExtension.
- DefaultInitializer
Base class for extensions that initialize new controls with default values.
- DefaultPlacementBehavior
Represents a default behavior interface for the designed item.
- DesignContext
The context that the designer uses.
- DesignItem
The DesignItem connects a component with the service system and the designers. Equivalent to Cider's ModelItem.
- DesignItemCollectionEventArgs
Event arguments specifying a component as parameter.
- DesignItemEventArgs
Event arguments specifying a component as parameter.
- DesignItemInitializer
Instead of "DefaultInitializer" which is only called for new objects, this Initializer is called for every Instance of a Design Item
- DesignItemProperty
Represents a property of a DesignItem. All changes done via the DesignItemProperty class are represented in the underlying model (e.g. XAML). All such changes are recorded in the currently running designer transaction (ChangeGroup), enabling Undo/Redo support. Warning: Changes directly done to control instances might not be reflected in the model.
- DesignItemPropertyChangedEventArgs
Event arguments specifying a component and property as parameter.
- DesignItemPropertyCollection
Represents a collection of design item properties.
- DesignSurfaceBase
Represents a base class that is a surface hosting the WPF designer. This class is abstract.
- DesignerException
Exception class used for designer failures.
- DesignerReferencedAssemblies
Represents a collection of assemblies that can be referenced in the form designer's content.
- DragDropExceptionHandler
When the designer is hosted in a Windows.Forms application, exceptions in drag'n'drop handlers are silently ignored. Applications hosting the designer should listen to the event and provide their own exception handling method. If no event listener is registered, exceptions will call Environment.FailFast.
- DragListener
Represents a class that handles events of the control that the user can drag.
- DragMoveMouseGesture
Mouse gesture for moving elements inside a container or between containers. Belongs to the PointerTool.
- DrawLineExtension
Represents an extension used to draw line elements.
- DummyValueInsteadOfNullTypeDescriptionProvider
Description of DummyValueInsteadOfNullTypeDescriptionProvider.
- EditStyleContextMenu
EditStyleContextMenu
- EditorFormDesignerDataSource
Provides extended properties and methods for a Form Designer control's data source.
- EditorManager
Manages registered type and property editors.
- ErrorBalloon
An ErrorBalloon window.
- Extension
Base class for all Extensions.
- ExtensionAttribute
Attribute to specify Properties of the Extension.
- ExtensionForAttribute
Attribute to specify that the decorated class is a WPF extension for the specified item type.
- ExtensionManager
Manages extension creation for a design context.
- ExtensionMethodsWpfDesign
Extension methods used in the WPF designer.
- ExtensionServer
An ExtensionServer manages a creating and removing extensions of the specific extension type. For a given DesignContext, a ExtensionServer is created only once. The ExtensionServer can handle events raised by services without having to unregister its events handlers because the ExtensionServer runs for the lifetime of the DesignContext.
- ExtensionServerAttribute
Attribute to specify that the decorated class is an extension using the specified extension server.
- FormDesignerCommands
Represents the set of commands that are available to the Form Designer.
- FormDesignerControl
Surface hosting the WPF designer.
- FormDesignerDataSource
Provides properties and methods for a Form Designer control's data source.
- FormDesignerTextSourceOperations
Represents operations applied to
IFormDesignerTextSource
content.
- FormDesignerTextSourceOperations.TextInsertionOperation
Represents properties applied to the text insertion operation.
- FormDesignerTextSourceOperations.TextReplacementOperation
Represents properties applied to the text replacement operation.
- FormFilesUtility
A utility class to support form designer files functionality.
- FormFilesUtility.CreateFormFilesOptions
Defines options for form files creation operation.
- GridAdornerProvider
Allows arranging the rows/column on a grid.
- GridPlacementSupport
Provides IPlacementBehavior behavior for Grid.
- GridRailAdorner
Adorner that displays the blue bar next to grids that can be used to create new rows/column.
- GridUnitSelector
Interaction logic for GridUnitSelector.xaml
- HandleLengthWithOffset
Offset the Handle Length with MarginHandle.HandleLengthOffset
- InPlaceEditor
Supports editing Text in the Designer
- InPlaceEditorExtension
Extends In-Place editor to edit any text in the designer which is wrapped in the Visual tree under TexBlock
- LanguageService
Represents a base class for support language-specific code manipulation, used in the Alternet.FormDesigner control.
- LanguageServices
Per language services provided by the form designer environment.
- LineExtensionBase
base class for the Line, Polyline and Polygon extension classes
- LineExtensionBase.Bounds
Used instead of Rect to allow negative values on "Width" and "Height" (here called X and Y).
- LineHandlerExtension
Description of LineHandlerExtension.
- LogicalAndExtensionServer<A, B>
Combines two extension servers using a logical AND.
- LogicalOrExtensionServer<A, B>
Combines two extension servers using a logical OR.
- MarginHandle
Adorner that displays the margin of a control in a Grid.
- MarginStub
Display a stub indicating that the margin is not set.
- Metadata
Contains helper methods for retrieving meta data.
- ModelTools
Static helper methods for working with the designer DOM.
- MouseGestureBase
Base class for classes handling mouse gestures on the design surface.
- MultipleSelectedExtensionServer
Applies an extension only when multiple Items are selected!
- NavigateToUserMethodRequestedEventArgs
Provides data for the
NavigateToUserMethodRequested
handler.
- NumberRange
Represents the minimum and maximum valid value for a double property.
- OnlyOneItemSelectedExtensionServer
Applies an extension to the primary selection if Only One Item is Selected.
- OptionService
Contains a set of options regarding the default designer components.
- PageCloneExtension
A CustomInstanceFactory for Page (and derived classes, unless they specify their own CustomInstanceFactory).
- PanelInstanceFactory
Instance factory used to create Panel instances. Sets the panels Brush to a transparent brush, and modifies the panel's type descriptor so that the property value is reported as null when the transparent brush is used, and setting the Brush to null actually restores the transparent brush.
- PanelSelectionHandler
Handles selection multiple controls inside a Panel.
- PathContextMenu
PathContextMenu
- PathHandlerExtension
Description of PathHandlerExtension.
- PermanentAdornerProvider
An adorner extension that is attached permanently.
- PlacementInformation
Stores information about the placement of an individual item during a PlacementOperation.
- PlacementOperation
Stores data about a placement operation.
- PlacementOperation.PlacementOperationException
A exception which can Happen during Placement
- PlacementType
Describes how a placement is done.
- PolyLineHandlerExtension
Description of PolyLineHandlerExtension.
- PrimarySelectionAdornerProvider
An adorner extension that is attached to the primary selection.
- PrimarySelectionButOnlyWhenMultipleSelectedExtensionServer
Applies an extension to the primary selection, but only when multiple Items are selected!
- PrimarySelectionExtensionServer
Applies an extension to the primary selection.
- PrimarySelectionParentExtensionServer
Applies an extension to the parent of the primary selection.
- PropertyEditorAttribute
Attribute to specify that the decorated class is a editor for the specified property.
- PropertyGridItem
Represents a control for which the grid displays properties.
- PropertyNode
View-Model class for the property grid.
- PropertyNodeCollection
A SortedObservableCollection{PropertyNode, string} that sorts by the PropertyNode's Name.
- QuickOperationMenuExtension
Extends the Quick operation menu for the designer.
- RasterPlacementBehavior
Represents a Raster Placement behavior interface for the designed item.
- RelativePlacement
Placement class providing properties for different kinds of relative placements.
- RelayCommand
A command that invokes a delegate. This class does not provide the command parameter to the delegate - if you need that, use the generic version of this class instead.
- RelayCommand<T>
A command that invokes a delegate. The command parameter must be of type T.
- ResizeThumb
Resize thumb that automatically disappears if the adornered element is too small.
- ResizeThumbExtension
The resize thumb around a component.
- RightClickContextMenu
RightClickContextMenu
- RootItemBehavior
Initializes different behaviors for the Root item.
Could not be a extension since Root Item is can be of any type
- RotateThumbExtension
The resize thumb around a component.
- SecondarySelectionAdornerProvider
An adorner extension that is attached to the secondary selection.
- SecondarySelectionExtensionServer
Applies an extension to the selected components, but not to the primary selection.
- SelectedElementRectangleExtension
Draws a dotted line around selected UIElements.
- SelectionAdornerProvider
An adorner extension that is attached to selected components.
- SelectionExtensionServer
Applies an extension to the selected components.
- ServiceContainer
The ServiceContainer is a built-in service that manages the list of services. You can only add services to it, removing or replacing services is not supported because many designers depend on keeping their services available.
- ServiceRequiredException
Exception class used for designer failures.
- SizeDisplayExtension
Display Height/Width on the primary selection
- SnaplinePlacementBehavior
Represents a Snapline Placement behavior interface for the designed item.
- SortedObservableCollection<T, TKey>
Extends ObservableCollection{T} with an AddSorted method to insert items in a sorted collection.
- SourceDifferencesUtility
A utility class is used to support smart saving Form Designer souce code.
- StackPanelPlacementSupport
Provides IPlacementBehavior for StackPanel.
- TabItemClickableExtension
Makes TabItems clickable.
- TextBlockRightClickContextMenu
TextBlockRightClickContextMenu
- TopLeftContainerDragHandle
The drag handle displayed for Framework Elements
- TopLeftContainerDragHandleMultipleItems
The drag handle displayed for Framework Elements
- Translations
Description of Translations.
- TypeEditorAttribute
Attribute to specify that the decorated class is a editor for properties with the specified return type.
- TypeHelper
Helper class with static methods to get the list of available properties/events.
- UIHelpers
Contains helper methods for UI.
- UndoService
Service supporting Undo/Redo actions on the design surface.
- UndoTransaction
Supports ChangeGroup transactions and undo behavior.
- UserControlPointsObjectExtension
Description of UserControlPointsObjectExtension.
- VersionedAssemblyResourceDictionary
Provides a hash table / dictionary implementation that contains WPF resources used by components and other elements of a versioned WPF application.
- ViewService
Service for getting the view for a model or the model for a view.
- WebBrowserCloneExtension
A CustomInstanceFactory for WebBrowser (and derived classes, unless they specify their own CustomInstanceFactory).
- WindowCloneExtension
A CustomInstanceFactory for Window (and derived classes, unless they specify their own CustomInstanceFactory).
- WrapItemContextMenu
WrapItemContextMenu
- WrapItemsContextMenu
WrapItemsContextMenu
- XamlDesignContext
The design context implementation used when editing XAML.
- XamlEditOperations
Deals with operations on controls which also require access to internal XML properties of the XAML Document.
- XamlLoadSettings
Settings used to load a XAML document.
Structs
- AdornerOrder
Describes where an Adorner is positioned on the Z-Layer.
- DesignPanelHitTestResult
Describes the result of a HitTest(Point, bool, bool, HitTestType) call.
- PlacementAlignment
A combination of HorizontalAlignment/VerticalAlignment.
Interfaces
- IComponentPropertyService
Used to get properties for a Design Item.
- IComponentService
Supports adding and removing components
- IDesignPanel
Interface for the design panel. The design panel is the UIElement containing the designed elements and is responsible for handling mouse and keyboard events.
- IDrawItemExtension
Behavior interface implemented by container elements to support resizing drawing new Elements
- IErrorService
Service for showing error UI.
- IEventHandlerService
Service for providing the designer with information about available event handlers.
- IFormDesignerBaseDataSource
Represents a base Form Designer control's data source.
- IFormDesignerCommands
Represents the set of commands that are available to the Form Designer.
- IFormDesignerControl
Represents a surface hosting the WPF designer.
- IFormDesignerDataSource
Represents properties and methods for a Form Designer control's data source.
- IFormDesignerLoader
Represents methods and properties declaration to load and save designer's content.
- IFormDesignerTextSource
Represents properties and methods for a Form Designer control's text.
- IHandlePointerToolMouseDown
Behavior interface implemented by elements to handle the mouse down event on them.
- IKeyBindingService
Service that handles all the key bindings in the designer.
- IKeyDown
interface that can be implemented if a control is to be alerted of KeyDown Event on DesignPanel
- IKeyUp
interface that can be implemented if a control is to be alerted of KeyUp Event on DesignPanel
- IObservableList<T>
A IList which implements INotifyCollectionChanged
- IOutlineControl
Represents a surface hosting the WPF outline control.
- IOutlineNodeNameService
Used to get a description for the Outline Node.
- IPlacementBehavior
Behavior interface implemented by container elements to support resizing child elements.
- IPropertyDescriptionService
Used to get a description for properties.
- IPropertyGridControl
Represents a surface hosting the WPF property grid.
- IResourceResolutionService
Provides an interface for accessing resource locations.
- IRootPlacementBehavior
Behavior interface for root elements (elements where item.Parent is null). Is used instead of IPlacementBehavior to support resizing the root element.
- ISelectionService
Manages selecting components.
- ITool
Describes a tool that can handle input on the design surface. Modeled after the description on http://urbanpotato.net/Default.aspx/document/2300
- IToolItemAdder
Describes a tool that can add an item on the design surface.
- IToolService
Service that manages tool selection.
- IToolboxControl
Represents properties and methods to display components and controls that user can place onto design surface.
- ITopLevelWindow
Represents a top level window.
- ITopLevelWindowService
Provides a method to get the top-level-window of any UIElement. If the WPF Designer is hosted inside a Windows.Forms application, the hosting environment should specify a ITopLevelWindowService implementation that works with both WPF and Windows.Forms top-level-windows.
- IUndoAction
Describes an action available on the undo or redo stack.
Enums
- AdornerPlacementSpace
Describes the space in which an adorner is placed.
- ArrangeDirection
Defines possible arrangement directions.
- ControlManipulationOptions
Specifies ways how control can be manipulated on the designer surface.
- HandleOrientation
Specifies the Handle orientation
- SelectionTypes
Defines the type how a selection can be changed.
- StreamAccessMode
Defines constants for read, write access to a stream.
- StretchDirection
Defines possible stretch directions.
Delegates
- DragHandler
Represents a method that will handle events related to the dragged control.
- InsertTextIntoCodeDelegate
Represents a method that will handle inserting text into user's code.
- OpenStreamDelegate
Represents a method that will handle opening form designer-generated code
- OpenStreamForReadingDelegate
Represents a method that will handle opening user-defined code.