FrameworkTemplate Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables the instantiation of a tree of FrameworkElement and/or FrameworkContentElement objects.
public ref class FrameworkTemplate abstract : System::Windows::Threading::DispatcherObject, System::Windows::Markup::INameScope
public ref class FrameworkTemplate abstract : System::Windows::Threading::DispatcherObject, System::Windows::Markup::INameScope, System::Windows::Markup::IQueryAmbient
[System.Windows.Localizability(System.Windows.LocalizationCategory.NeverLocalize)]
[System.Windows.Markup.ContentProperty("VisualTree")]
public abstract class FrameworkTemplate : System.Windows.Threading.DispatcherObject, System.Windows.Markup.INameScope
[System.Windows.Localizability(System.Windows.LocalizationCategory.NeverLocalize)]
[System.Windows.Markup.ContentProperty("VisualTree")]
public abstract class FrameworkTemplate : System.Windows.Threading.DispatcherObject, System.Windows.Markup.INameScope, System.Windows.Markup.IQueryAmbient
[<System.Windows.Localizability(System.Windows.LocalizationCategory.NeverLocalize)>]
[<System.Windows.Markup.ContentProperty("VisualTree")>]
type FrameworkTemplate = class
inherit DispatcherObject
interface INameScope
[<System.Windows.Localizability(System.Windows.LocalizationCategory.NeverLocalize)>]
[<System.Windows.Markup.ContentProperty("VisualTree")>]
type FrameworkTemplate = class
inherit DispatcherObject
interface INameScope
interface IQueryAmbient
Public MustInherit Class FrameworkTemplate
Inherits DispatcherObject
Implements INameScope
Public MustInherit Class FrameworkTemplate
Inherits DispatcherObject
Implements INameScope, IQueryAmbient
- Inheritance
- Derived
- Attributes
- Implements
Framework |
Initializes a new instance of the FrameworkTemplate class. |
Dispatcher |
Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject) |
Has |
Gets a value that indicates whether this template has optimized content. |
Is |
Gets a value that indicates whether this object is in an immutable state so it cannot be changed. |
Resources |
Gets or sets the collection of resources that can be used within the scope of this template. |
Template |
Gets or sets a reference to the object that records or plays the XAML nodes for the template when the template is defined or applied by a writer. |
Visual |
Gets or sets the root node of the template. |
Check |
Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Find |
Finds the element associated with the specified name defined within this template. |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Load |
Loads the content of the template as an instance of an object and returns the root element of the content. |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Register |
Registers a new name/object pair into the current name scope. |
Seal() |
Locks the template so it cannot be changed. |
Should |
Returns a value that indicates whether serialization processes should serialize the value of the Resources property on instances of this class. |
Should |
Returns a value that indicates whether serialization processes should serialize the value of the VisualTree property on instances of this class. |
To |
Returns a string that represents the current object. (Inherited from Object) |
Unregister |
Removes a name/object mapping from the XAML namescope. |
Validate |
When overridden in a derived class, supplies rules for the element this template is applied to. |
Verify |
Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject) |
IName |
Returns an object that has the provided identifying name. |
IQuery |
Queries whether a specified ambient property is available in the current scope. |
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: