แก้ไข

แชร์ผ่าน


DesignerStylesDictionary Class

Definition

Provides a dictionary for designer styles.

public ref class DesignerStylesDictionary sealed : System::Windows::ResourceDictionary, System::Windows::Markup::IComponentConnector
public sealed class DesignerStylesDictionary : System.Windows.ResourceDictionary, System.Windows.Markup.IComponentConnector
type DesignerStylesDictionary = class
    inherit ResourceDictionary
    interface IComponentConnector
Public NotInheritable Class DesignerStylesDictionary
Inherits ResourceDictionary
Implements IComponentConnector
Inheritance
DesignerStylesDictionary
Implements

Properties

Count

Gets the number of entries in the base ResourceDictionary.

(Inherited from ResourceDictionary)
DeferrableContent

Gets or sets the deferrable content for this resource dictionary.

(Inherited from ResourceDictionary)
InvalidatesImplicitDataTemplateResources

Gets or sets a value that indicates whether the invalidations fired by the ResourceDictionary object cause ContentPresenter objects to reevaluate their choice of template. The invalidations happen when an implicit data template resource changes.

(Inherited from ResourceDictionary)
IsFixedSize

Gets whether this ResourceDictionary is fixed-size.

(Inherited from ResourceDictionary)
IsReadOnly

Gets whether this ResourceDictionary is read-only.

(Inherited from ResourceDictionary)
Item[Object]

Gets or sets the value associated with the given key.

(Inherited from ResourceDictionary)
Keys

Gets a collection of all keys contained in this ResourceDictionary.

(Inherited from ResourceDictionary)
MergedDictionaries

Gets a collection of the ResourceDictionary dictionaries that constitute the various resource dictionaries in the merged dictionaries.

(Inherited from ResourceDictionary)
SequenceStyle

Gets the sequence style stored in this DesignerStylesDictionary instance. Also, seals the sequence style if it is not already sealed.

Source

Gets or sets the uniform resource identifier (URI) to load resources from.

(Inherited from ResourceDictionary)
Values

Gets a collection of all values associated with keys contained in this ResourceDictionary.

(Inherited from ResourceDictionary)

Methods

Add(Object, Object)

Adds a resource by key to this ResourceDictionary.

(Inherited from ResourceDictionary)
BeginInit()

Begins the initialization phase for this ResourceDictionary.

(Inherited from ResourceDictionary)
Clear()

Clears all keys (and values) in the base ResourceDictionary. This does not clear any merged dictionary items.

(Inherited from ResourceDictionary)
Contains(Object)

Determines whether the ResourceDictionary contains an element with the specified key.

(Inherited from ResourceDictionary)
CopyTo(DictionaryEntry[], Int32)

Copies the ResourceDictionary elements to a one-dimensional DictionaryEntry at the specified index.

(Inherited from ResourceDictionary)
EndInit()

Ends the initialization phase, and invalidates the previous tree such that all changes made to keys during the initialization phase can be accounted for.

(Inherited from ResourceDictionary)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
FindName(String)

Not supported by this Dictionary implementation.

(Inherited from ResourceDictionary)
GetEnumerator()

Returns an IDictionaryEnumerator that can be used to iterate through the ResourceDictionary.

(Inherited from ResourceDictionary)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
InitializeComponent()

Initializes the current dictionary instance from a XAML file at a specific resource location.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnGettingValue(Object, Object, Boolean)

Occurs when the ResourceDictionary receives a request for a resource.

(Inherited from ResourceDictionary)
RegisterName(String, Object)

Not supported by this Dictionary implementation.

(Inherited from ResourceDictionary)
Remove(Object)

Removes the entry with the specified key from the base dictionary.

(Inherited from ResourceDictionary)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
UnregisterName(String)

Not supported by this Dictionary implementation.

(Inherited from ResourceDictionary)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)

For a description of this member, see CopyTo(Array, Int32).

(Inherited from ResourceDictionary)
ICollection.IsSynchronized

For a description of this member, see IsSynchronized.

(Inherited from ResourceDictionary)
ICollection.SyncRoot

For a description of this member, see SyncRoot.

(Inherited from ResourceDictionary)
IComponentConnector.Connect(Int32, Object)

Attaches events and names to compiled content.

IEnumerable.GetEnumerator()

For a description of this member, see GetEnumerator().

(Inherited from ResourceDictionary)
IUriContext.BaseUri

For a description of this member, see BaseUri.

(Inherited from ResourceDictionary)

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to