Implements
- I
Remarks
This label model supports four positions inside the stripe bounds. The left and right positions are rotated automatically. ILabelModelParameters created by this model support only IStripe instances as label owner.
The label's preferredSize is ignored by this model. Instead, the label is stretched to fit the row's height for positions RIGHT and LEFT and the column's width for positions TOP and BOTTOM.
See Also
Developer's Guide
Members
No filters for this type
Constructors
Properties
The default is
(2,2,2,2)conversion
Gets or sets a value indicating whether to use the global padding or the normal padding of a stripe for centering the label inside the stripe header area.
Gets or sets a value indicating whether to use the global padding or the normal padding of a stripe for centering the label inside the stripe header area.
If
true the header padding is used. Default is falseMethods
Creates the parameter for the given position.
Creates the parameter for the given position.
Parameters
- position: StretchStripeLabelModelPosition
- The position.
Return Value
- StretchStripeLabelModelParameter
- The parameter for the given position.
Provides a lookup context for the given label.
Provides a lookup context for the given label.
Parameters
- label: ILabel
- The label to use in the context.
Return Value
- ILookup
- An implementation of the ILookup interface that can be used to query additional aspects of the label.
Implements
ILabelModel.getContextCalculates the geometry in the form of an IOrientedRectangle for a given label using the given model parameter.
Calculates the geometry in the form of an IOrientedRectangle for a given label using the given model parameter.
The geometry is calculated in table coordinates, i.e. relative to the upper left corner of the table.
final
Parameters
- label: ILabel
- The label to calculate the geometry for
- layoutParameter: ILabelModelParameter
- A parameter that has been created by this model. This is typically the parameter that yielded this instance through its model property.
Return Value
- IOrientedRectangle
- An instance that describes the geometry. This is typically an instance designed as a flyweight, so clients should not cache the instance but store the values if they need a snapshot for later use
Implements
ILabelModel.getGeometryConstants
A predefined parameter instance that places a label inside the bottom header of a column.
A predefined parameter instance that places a label inside the bottom header of a column.
This parameter instance's model is immutable. Trying to change its padding or useTotalPadding properties will raise an InvalidOperationError.
static
Sample Graphs
A predefined parameter instance that places a label inside the left header of a row.
A predefined parameter instance that places a label inside the left header of a row.
This parameter instance's model is immutable. Trying to change its padding or useTotalPadding properties will raise an InvalidOperationError.
static
Sample Graphs
See Also
Developer's Guide
A predefined parameter instance that places a label inside the right header of a row.
A predefined parameter instance that places a label inside the right header of a row.
This parameter instance's model is immutable. Trying to change its padding or useTotalPadding properties will raise an InvalidOperationError.
static
Sample Graphs
See Also
Developer's Guide
A predefined parameter instance that places a label inside the top header of a column.
A predefined parameter instance that places a label inside the top header of a column.
This parameter instance's model is immutable. Trying to change its padding or useTotalPadding properties will raise an InvalidOperationError.
static