The IconLabelStyleRenderer type exposes the following members.

Constructors

  NameDescription
Public methodIconLabelStyleRenderer
Creates a new instance of this renderer.

Methods

  NameDescription
Protected methodConfigure
Prepares this instance for subsequent calls after the style and item have been initialized.
(Overrides AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>..::..Configure()()()().)
Protected methodCreateStyleDescriptor
Factory method for the StyleDescriptor property. This method will be called upon first access to the StyleDescriptor property.
(Overrides AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>..::..CreateStyleDescriptor()()()().)
Public methodCreateVisual
Abstract method that creates the FrameworkElement as part of the IVisualCreator interface.
(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.
(Overrides AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>..::..GetBounds(ICanvasContext).)
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>)>)>.)
Protected methodGetIcon
Retrieves the Icon from the Style.
Protected methodGetIconPlacement
Retrieves the IconPlacement from the Style.
Protected methodGetIconSize
Gets the size of the icon from the IconSize property.
Protected methodGetInnerStyle
Retrieves the InnerStyle from the Style.
Protected methodGetInnerStyleInsets
Retrieves the InnerStyleInsets from the Style.
Public methodGetMarqueeTestable
Configures the style and item parameters, calls Configure()()()() and returns this.
(Inherited from AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>.)
Protected methodGetPreferredSize()()()()
Calculates the preferred size given the current state of the renderer.
Public methodGetPreferredSize(ILabel, ILabelStyle)
Calculates the preferred size of a given label using the associated style.
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
Retrieves the AutoFlip property from the Style.
Public methodIsHit
Hit tests the item using the style.
(Overrides AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>..::..IsHit(PointD, ICanvasContext).)
Public methodIsInBox
Tests the item using the style for an intersection.
(Overrides AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>..::..IsInBox(RectD, ICanvasContext).)
Public methodIsVisible
Calls Configure()()()() and test the item using the style for a visible intersection with the clip bounds.
(Inherited from AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>.)
Public methodLookup
Implements the ILookup interface.
(Inherited from AbstractStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>.)
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>)>)>.)
Protected methodShouldHitTestIcon
Returns whether the icon bounds should be considered for hit testing.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateVisual
Simple implementation of an update strategy as part of the IVisualCreator interface.
(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>)>)>.)
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