|
23 | 23 | <Docs> |
24 | 24 | <summary>Implements an underlying type cache for all <see cref="T:System.Windows.DependencyObject" /> derived types.</summary> |
25 | 25 | <remarks> |
26 | | - <format type="text/markdown"><![CDATA[ |
27 | | - |
28 | | -## Remarks |
29 | | - <xref:System.Windows.DependencyObjectType> represents a specific underlying system (CLR) <xref:System.Type> of a <xref:System.Windows.DependencyObject>. <xref:System.Windows.DependencyObjectType> is essentially a wrapper for the (CLR) <xref:System.Type> so that it can extend some of its capabilities. |
30 | | - |
31 | | - This class has no public constructor. Instances of this class can only be obtained through properties on other objects (such as <xref:System.Windows.DependencyObject.DependencyObjectType%2A?displayProperty=nameWithType>), or through the static method <xref:System.Windows.DependencyObjectType.FromSystemType%2A>. |
32 | | - |
| 26 | + <format type="text/markdown"><![CDATA[ |
| 27 | +
|
| 28 | +## Remarks |
| 29 | + <xref:System.Windows.DependencyObjectType> represents a specific underlying system (CLR) <xref:System.Type> of a <xref:System.Windows.DependencyObject>. <xref:System.Windows.DependencyObjectType> is essentially a wrapper for the (CLR) <xref:System.Type> so that it can extend some of its capabilities. |
| 30 | +
|
| 31 | + This class has no public constructor. Instances of this class can only be obtained through properties on other objects (such as <xref:System.Windows.DependencyObject.DependencyObjectType%2A?displayProperty=nameWithType>), or through the static method <xref:System.Windows.DependencyObjectType.FromSystemType%2A>. |
| 32 | +
|
33 | 33 | ]]></format> |
34 | 34 | </remarks> |
35 | 35 | <altmember cref="T:System.Windows.DependencyProperty" /> |
|
99 | 99 | <summary>Returns a <see cref="T:System.Windows.DependencyObjectType" /> that represents a given system (CLR) type.</summary> |
100 | 100 | <returns>A <see cref="T:System.Windows.DependencyObjectType" /> that represents the system (CLR) type.</returns> |
101 | 101 | <remarks> |
102 | | - <format type="text/markdown"><![CDATA[ |
103 | | - |
104 | | -## Remarks |
105 | | - Each <xref:System.Windows.DependencyObject> maintains a <xref:System.Windows.DependencyObject.DependencyObjectType%2A> property that returns a <xref:System.Windows.DependencyObjectType>, but this requires having a particular <xref:System.Windows.DependencyObject> instance. You can use this static utility method if you do not yet have a <xref:System.Windows.DependencyObject> instance and require a <xref:System.Windows.DependencyObjectType>. |
106 | | - |
107 | | - |
108 | | - |
109 | | -## Examples |
110 | | - The following example calls <xref:System.Windows.DependencyObjectType.FromSystemType%2A> , creating a <xref:System.Windows.DependencyObjectType> based on the type of the <xref:System.Windows.Window> class. |
111 | | - |
| 102 | + <format type="text/markdown"><![CDATA[ |
| 103 | +
|
| 104 | +## Remarks |
| 105 | + Each <xref:System.Windows.DependencyObject> maintains a <xref:System.Windows.DependencyObject.DependencyObjectType%2A> property that returns a <xref:System.Windows.DependencyObjectType>, but this requires having a particular <xref:System.Windows.DependencyObject> instance. You can use this static utility method if you do not yet have a <xref:System.Windows.DependencyObject> instance and require a <xref:System.Windows.DependencyObjectType>. |
| 106 | +
|
| 107 | +
|
| 108 | +
|
| 109 | +## Examples |
| 110 | + The following example calls <xref:System.Windows.DependencyObjectType.FromSystemType%2A> , creating a <xref:System.Windows.DependencyObjectType> based on the type of the <xref:System.Windows.Window> class. |
| 111 | +
|
112 | 112 | :::code language="csharp" source="~/snippets/csharp/System.Windows/DependencyObjectType/FromSystemType/page3.xaml.cs" id="Snippetdotfromsystemtype"::: |
113 | | - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/PropertiesOvwSupport/visualbasic/page3.xaml.vb" id="Snippetdotfromsystemtype"::: |
114 | | - |
| 113 | + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/PropertiesOvwSupport/visualbasic/page3.xaml.vb" id="Snippetdotfromsystemtype"::: |
| 114 | +
|
115 | 115 | ]]></format> |
116 | 116 | </remarks> |
117 | 117 | </Docs> |
|
143 | 143 | <summary>Returns the hash code for this <see cref="T:System.Windows.DependencyObjectType" />.</summary> |
144 | 144 | <returns>A 32-bit signed integer hash code.</returns> |
145 | 145 | <remarks> |
146 | | - <format type="text/markdown"><![CDATA[ |
147 | | - |
148 | | -## Remarks |
149 | | - This implementation is linked to the value of the <xref:System.Windows.DependencyObjectType.Id%2A> property. |
150 | | - |
| 146 | + <format type="text/markdown"><![CDATA[ |
| 147 | +
|
| 148 | +## Remarks |
| 149 | + This implementation is linked to the value of the <xref:System.Windows.DependencyObjectType.Id%2A> property. |
| 150 | +
|
151 | 151 | ]]></format> |
152 | 152 | </remarks> |
153 | 153 | </Docs> |
|
184 | 184 | <summary>Gets a zero-based unique identifier for constant-time array lookup operations.</summary> |
185 | 185 | <value>An internal identifier.</value> |
186 | 186 | <remarks> |
187 | | - <format type="text/markdown"><![CDATA[ |
188 | | - |
189 | | -## Remarks |
190 | | - Do not use for general hashing functions. There is no guarantee on this value. It can vary between application runs. |
191 | | - |
| 187 | + <format type="text/markdown"><![CDATA[ |
| 188 | +
|
| 189 | +## Remarks |
| 190 | + Do not use for general hashing functions. There is no guarantee on this value. It can vary between application runs. |
| 191 | +
|
192 | 192 | ]]></format> |
193 | 193 | </remarks> |
194 | 194 | </Docs> |
|
222 | 222 | <param name="dependencyObject">The object to compare with the current <see cref="T:System.Windows.DependencyObjectType" />.</param> |
223 | 223 | <summary>Determines whether the specified object is an instance of the current <see cref="T:System.Windows.DependencyObjectType" />.</summary> |
224 | 224 | <returns> |
225 | | - <see langword="true" /> if the class represented by the current <see cref="T:System.Windows.DependencyObjectType" /> is in the inheritance hierarchy of the <see cref="T:System.Windows.DependencyObject" /> passed as <paramref name="d" />; otherwise, <see langword="false" />.</returns> |
| 225 | + <see langword="true" /> if the class represented by the current <see cref="T:System.Windows.DependencyObjectType" /> is in the inheritance hierarchy of the <see cref="T:System.Windows.DependencyObject" /> passed as <paramref name="dependencyObject" />; otherwise, <see langword="false" />.</returns> |
226 | 226 | <remarks> |
227 | | - <format type="text/markdown"><![CDATA[ |
228 | | - |
229 | | -## Remarks |
230 | | - Objects of the exact same type return `true`. |
231 | | - |
| 227 | + <format type="text/markdown"><![CDATA[ |
| 228 | +
|
| 229 | +## Remarks |
| 230 | + Objects of the exact same type return `true`. |
| 231 | +
|
232 | 232 | ]]></format> |
233 | 233 | </remarks> |
234 | 234 | </Docs> |
|
292 | 292 | <summary>Gets the name of the represented common language runtime (CLR) system type.</summary> |
293 | 293 | <value>The name of the represented CLR system type.</value> |
294 | 294 | <remarks> |
295 | | - <format type="text/markdown"><![CDATA[ |
296 | | - |
297 | | -## Remarks |
298 | | - The value of <xref:System.Windows.DependencyObjectType.Name%2A> is the same string as the name of the type name of the <xref:System.Type>. |
299 | | - |
| 295 | + <format type="text/markdown"><![CDATA[ |
| 296 | +
|
| 297 | +## Remarks |
| 298 | + The value of <xref:System.Windows.DependencyObjectType.Name%2A> is the same string as the name of the type name of the <xref:System.Type>. |
| 299 | +
|
300 | 300 | ]]></format> |
301 | 301 | </remarks> |
302 | 302 | <altmember cref="T:System.Windows.DependencyProperty" /> |
|
0 commit comments