EditorFormatDefinition EditorFormatDefinition EditorFormatDefinition EditorFormatDefinition EditorFormatDefinition EditorFormatDefinition Class

Definition

Provides format information for a particular item.

public ref class EditorFormatDefinition abstract
[Windows::Foundation::Metadata::WebHostHidden]
public ref class EditorFormatDefinition abstract
[Windows::Foundation::Metadata::WebHostHidden]
class EditorFormatDefinition abstract
public abstract class EditorFormatDefinition
type EditorFormatDefinition = class
Public MustInherit Class EditorFormatDefinition
Inheritance
EditorFormatDefinitionEditorFormatDefinitionEditorFormatDefinitionEditorFormatDefinitionEditorFormatDefinitionEditorFormatDefinition
Derived

Remarks

This is a MEF component part, and should be exported as: [Export(typeof(EditorFormatDefinition))]

Exporters must provide the attribute NameAttribute. The attributes OrderAttribute, DisplayNameAttribute and UserVisibleAttribute may be provided optionally.

Consumers of this attribute may optionally ignore the foreground formatting information, the background information, or both.

It's recommended that exporters of this class prefix the NameAttribute with a unique string (e.g. their package name) to reduce the chance of conflict with another similarly named export.

Constructors

EditorFormatDefinition() EditorFormatDefinition() EditorFormatDefinition() EditorFormatDefinition() EditorFormatDefinition() EditorFormatDefinition()

Initializes a new instance of EditorFormatDefinition.

Fields

BackgroundBrushId BackgroundBrushId BackgroundBrushId BackgroundBrushId BackgroundBrushId BackgroundBrushId

Defines the string used to look up the background brush value in the ResourceDictionary.

BackgroundColorId BackgroundColorId BackgroundColorId BackgroundColorId BackgroundColorId BackgroundColorId

Defines the string used to look up the background color value in the ResourceDictionary.

ForegroundBrushId ForegroundBrushId ForegroundBrushId ForegroundBrushId ForegroundBrushId ForegroundBrushId

Defines the string used to look up the foreground brush value in the ResourceDictionary.

ForegroundColorId ForegroundColorId ForegroundColorId ForegroundColorId ForegroundColorId ForegroundColorId

Defines the string used to look up the foreground color value in the ResourceDictionary.

Properties

BackgroundBrush BackgroundBrush BackgroundBrush BackgroundBrush BackgroundBrush BackgroundBrush

Gets or sets the background brush for this item.

BackgroundColor BackgroundColor BackgroundColor BackgroundColor BackgroundColor BackgroundColor

Gets or sets the background color for this item.

BackgroundCustomizable BackgroundCustomizable BackgroundCustomizable BackgroundCustomizable BackgroundCustomizable BackgroundCustomizable

Determines whether the background of this format is customizable.

DisplayName DisplayName DisplayName DisplayName DisplayName DisplayName

Defines the string used when displaying this format definition to the user. This property is only used if the UserVisibleAttribute is set to true on this object's export.

ForegroundBrush ForegroundBrush ForegroundBrush ForegroundBrush ForegroundBrush ForegroundBrush

Gets or sets the foreground brush for this item.

ForegroundColor ForegroundColor ForegroundColor ForegroundColor ForegroundColor ForegroundColor

Gets or sets the foreground color for this item.

ForegroundCustomizable ForegroundCustomizable ForegroundCustomizable ForegroundCustomizable ForegroundCustomizable ForegroundCustomizable

Determines whether the foreground of this format is customizable.

Methods

CreateResourceDictionary() CreateResourceDictionary() CreateResourceDictionary() CreateResourceDictionary() CreateResourceDictionary() CreateResourceDictionary()

Creates a ResourceDictionary from this definition.

CreateResourceDictionaryFromDefinition() CreateResourceDictionaryFromDefinition() CreateResourceDictionaryFromDefinition() CreateResourceDictionaryFromDefinition() CreateResourceDictionaryFromDefinition() CreateResourceDictionaryFromDefinition()

Creates a ResourceDictionary from this definition.

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

Applies to