[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter

FieldsPresenter Class

Used within the template of a fields control to specify the place in the control’s visual tree where the container of GrapeCity.Windows.InputMan.Fields.Primitives.Field is to be added.

Inheritance
FieldsPresenter
Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
public sealed class FieldsPresenter : FrameworkElement, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
<Localizability(LocalizationCategory.None, Readability:=Readability.Unreadable)>
Public NotInheritable Class FieldsPresenter
    Inherits FrameworkElement
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
Examples

The following example provides an example of self-defined template for GrapeCity.Windows.InputMan.Primitives.FieldsEditorControl. It adds two split spin buttons to control.

Constructors

Name Description
FieldsPresenter()

Properties

Name Description
LogicalChildren

Gets an enumerator that can be used to iterate the logical child elements of a FieldsPresenter.

VisualChildrenCount

Gets a value that is equal to the number of visual child elements of this instance of FieldsPresenter.

Methods

Name Description
ArrangeOverride(Size)

Arranges the content of a GrapeCity.Windows.InputMan.FieldsPresenter element.

GetVisualChild(int)

Overrides GetVisualChild(int), and returns a child at the specified index from a collection of child elements.

MeasureOverride(Size)

Measures the size in layout required for the child element of a FieldsPresenter and determines a size for the FieldsPresenter.