The LabelControlLabelStyleRenderer type exposes the following members.

Constructors

  NameDescription
Public methodLabelControlLabelStyleRenderer
Initializes a new instance of the LabelControlLabelStyleRenderer class

Methods

  NameDescription
Protected methodArrange
Arranges the provided element according to the current Layout, taking into account the value of IsAutoFlip(TLabelStyle).
(Inherited from ShapedLabelStyleRendererBase<(Of <(<'TLabelStyle>)>)>.)
Protected methodConfigure
Stores the Layout.
(Inherited from ShapedLabelStyleRendererBase<(Of <(<'TLabelStyle>)>)>.)
Protected methodCreateStyleDescriptor
Factory method for the StyleDescriptor property. This method will be called upon first access to the StyleDescriptor property.
(Inherited from ShapedLabelStyleRendererBase<(Of <(<'TLabelStyle>)>)>.)
Public methodCreateVisual
Creates the visual by delegating to CreateControl(IRenderContext, ILabel) and then initializing the control with the context.
(Overrides AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>..::..CreateVisual(IRenderContext).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBounds
Returns the bounds for the item using the style during painting.
(Inherited from ShapedLabelStyleRendererBase<(Of <(<'TLabelStyle>)>)>.)
Public methodGetBoundsProvider
Configures the style and item parameters, calls Configure()()()() and returns this.
(Inherited from AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>.)
Public methodGetContext
Configures the style and item parameters, does not call Configure()()()() and returns this.
(Inherited from AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetHitTestable
Configures the style and item parameters, calls Configure()()()() and returns this.
(Inherited from AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>.)
Public methodGetMarqueeTestable
Configures the style and item parameters, calls Configure()()()() and returns this.
(Inherited from AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>.)
Protected methodGetOutlineShape
Gets the outline shape by delegating to OutlineShape.
(Overrides ShapedLabelStyleRendererBase<(Of <(<'TLabelStyle>)>)>..::..GetOutlineShape(TLabelStyle).)
Protected methodGetPreferredSize(IRenderContext)
Gets the size of the preferred for the current configuration using the provided context.
(Overrides ShapedLabelStyleRendererBase<(Of <(<'TLabelStyle>)>)>..::..GetPreferredSize(IRenderContext).)
Public methodGetPreferredSize(ILabel, ILabelStyle)
Calculates the preferred size for the given label and style.
(Inherited from ShapedLabelStyleRendererBase<(Of <(<'TLabelStyle>)>)>.)
Public methodGetPreferredSize(ILabel, ILabelStyle, IRenderContext)
Calculates the preferred size for the given label and style.
(Inherited from ShapedLabelStyleRendererBase<(Of <(<'TLabelStyle>)>)>.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVisibilityTest
Configures the style and item parameters, does not call Configure()()()() and returns this.
(Inherited from AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>.)
Public methodGetVisualCreator
Configures the style and item parameters, calls Configure()()()() and returns this.
(Inherited from AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>.)
Public methodInstall
Installs the model in the canvas at the given group using the StyleDescriptor.
(Inherited from AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>.)
Protected methodIsAutoFlip
Delegates to the ILabelControlLabelStyle's AutoFlip property.
(Overrides ShapedLabelStyleRendererBase<(Of <(<'TLabelStyle>)>)>..::..IsAutoFlip(TLabelStyle).)
Public methodIsHit
Hit tests the item using the style.
(Inherited from ShapedLabelStyleRendererBase<(Of <(<'TLabelStyle>)>)>.)
Public methodIsInBox
Tests the item using the style for an intersection.
(Inherited from ShapedLabelStyleRendererBase<(Of <(<'TLabelStyle>)>)>.)
Public methodIsVisible
Uses the Layout to determine whether the clip intersects.
(Inherited from ShapedLabelStyleRendererBase<(Of <(<'TLabelStyle>)>)>.)
Public methodLookup
Delegates to the ContextLookup of the ILabelStyle.
(Inherited from ShapedLabelStyleRendererBase<(Of <(<'TLabelStyle>)>)>.)
Protected methodLookupContext (Overrides ShapedLabelStyleRendererBase<(Of <(<'TLabelStyle>)>)>..::..LookupContext(TLabelStyle, ILabel, Type).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSetItem
Called by the various descriptor getters to initialize the item.
(Inherited from AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>.)
Protected methodSetStyle
Called by the various descriptor getters to initialize the style.
(Inherited from AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateVisual
Updates the LabelControl correspondingly.
(Overrides AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>..::..UpdateVisual(IRenderContext, FrameworkElement).)

Fields

  NameDescription
Protected fielditem
The item that is currently assigned to this renderer instance.
(Inherited from AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>.)
Protected fieldstyle
The style that it currently assigned to this renderer instance.
(Inherited from AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>.)

Properties

  NameDescription
Public propertyItem
Gets the currently configured item.
(Inherited from AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>.)
Protected propertyLayout
Retrieves the current Layout.
(Inherited from ShapedLabelStyleRendererBase<(Of <(<'TLabelStyle>)>)>.)
Public propertyStyle
Gets the currently configured style.
(Inherited from AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>.)
Public propertyStyleDescriptor
Gets the ICanvasObjectDescriptor to use for new installations. If the field has not yet been initialized upon first access, the factory method CreateStyleDescriptor()()()() will be called.
(Inherited from AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>.)

See Also