Version

ResolveAppearance(Object,AppearanceData,AppearancePropFlags,EmbeddableEditorArea,Boolean,String) Method

Resolves the appearance for an element.
Syntax
'Declaration
 
Public Overloads Overrides Function ResolveAppearance( _
   ByVal ownerContext As Object, _
   ByRef appearance As AppearanceData, _
   ByRef requestedProps As AppearancePropFlags, _
   ByVal area As EmbeddableEditorArea, _
   ByVal hotTracking As Boolean, _
   ByVal customArea As String _
) As Boolean
public override bool ResolveAppearance( 
   object ownerContext,
   ref AppearanceData appearance,
   ref AppearancePropFlags requestedProps,
   EmbeddableEditorArea area,
   bool hotTracking,
   string customArea
)

Parameters

ownerContext
The context that was passed into the GetEmbeddableElement(UIElement,EmbeddableEditorOwnerBase,Object,EmbeddableUIElementBase) method.
appearance
The appearance structure to initialize.
requestedProps
The appearance properties to resolve.
area
Enumeration of type EmbeddableEditorArea describing the area of the embeddable element to which the appearance will be applied
hotTracking
Boolean indicating whether the owner should apply its 'HotTrackingAppearance'
customArea
A string that denotes which appearance to resolve. Applicable only when the 'area' parameter is set to Custom.

Return Value

True if the owner recognizes and supports the named appearance.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also