|
83 | 83 | <Docs>
|
84 | 84 | <summary>Defines a command.</summary>
|
85 | 85 | <remarks>
|
86 |
| - <format type="text/markdown"><. |
118 |
| - |
119 |
| - *customCommandName* |
120 |
| - A custom command. |
121 |
| - |
| 105 | +<object-property="{custom-class-name.custom-command-name}"/> |
| 106 | +``` |
| 107 | +
|
| 108 | +## XAML values |
| 109 | +
|
| 110 | + `predefined-class-name`\ |
| 111 | + One of the predefined command classes. |
| 112 | +
|
| 113 | + `predefined-command-name`\ |
| 114 | + One of the predefined commands. |
| 115 | +
|
| 116 | + `custom-class-name`\ |
| 117 | + A custom class that contains the custom command. Custom classes generally require an `xlmns` prefix mapping. For more information, see [XAML Namespaces and Namespace Mapping for WPF XAML](/dotnet/framework/wpf/advanced/xaml-namespaces-and-namespace-mapping-for-wpf-xaml). |
| 118 | +
|
| 119 | + `custom-command-name`\ |
| 120 | + A custom command. |
| 121 | +
|
122 | 122 | ]]></format>
|
123 | 123 | </remarks>
|
124 | 124 | </Docs>
|
|
169 | 169 | <Parameter Name="parameter" Type="System.Object" />
|
170 | 170 | </Parameters>
|
171 | 171 | <Docs>
|
172 |
| - <param name="parameter">Data used by the command. If the command does not require data to be passed, this object can be set to <see langword="null" />.</param> |
173 |
| - <summary>Defines the method that determines whether the command can execute in its current state.</summary> |
| 172 | + <param name="parameter">Data used by the command. If the command does not require data to be passed, this object can be set to <see langword="null" />.</param> |
| 173 | + <summary>Determines whether the command can execute in its current state.</summary> |
174 | 174 | <returns>
|
175 | 175 | <see langword="true" /> if this command can be executed; otherwise, <see langword="false" />.</returns>
|
176 | 176 | <remarks>
|
177 |
| - <format type="text/markdown"><![CDATA[ |
178 |
| - |
179 |
| -## Remarks |
180 |
| - Typically, a command source calls the <xref:System.Windows.Input.ICommand.CanExecute%2A> method when the <xref:System.Windows.Input.ICommand.CanExecuteChanged> event is raised. |
181 |
| - |
| 177 | + <format type="text/markdown"><![CDATA[ |
| 178 | +
|
| 179 | +## Remarks |
| 180 | +
|
| 181 | +Typically, a command source calls the <xref:System.Windows.Input.ICommand.CanExecute%2A> method when the <xref:System.Windows.Input.ICommand.CanExecuteChanged> event is raised. |
| 182 | +
|
182 | 183 | ]]></format>
|
183 | 184 | </remarks>
|
184 | 185 | <altmember cref="T:System.Windows.Input.ICommandSource" />
|
|
229 | 230 | <ReturnType>System.EventHandler</ReturnType>
|
230 | 231 | </ReturnValue>
|
231 | 232 | <Docs>
|
232 |
| - <summary>Occurs when changes occur that affect whether or not the command should execute.</summary> |
| 233 | + <summary>Occurs when changes take place that affect whether or not the command should execute.</summary> |
233 | 234 | <remarks>
|
234 |
| - <format type="text/markdown"><![CDATA[ |
235 |
| - |
236 |
| -## Remarks |
237 |
| - Normally, a command source calls <xref:System.Windows.Input.ICommand.CanExecute%2A> on the command when this event occurs. |
238 |
| - |
239 |
| - Normally, if the command cannot execute, the command source disables itself. |
240 |
| - |
| 235 | + <format type="text/markdown"><![CDATA[ |
| 236 | +
|
| 237 | +## Remarks |
| 238 | +
|
| 239 | +Normally, a command source calls <xref:System.Windows.Input.ICommand.CanExecute%2A> on the command when this event occurs. If the command cannot execute, the command source disables itself. |
| 240 | +
|
241 | 241 | ]]></format>
|
242 | 242 | </remarks>
|
243 | 243 | <altmember cref="T:System.Windows.Input.ICommandSource" />
|
|
291 | 291 | <Parameter Name="parameter" Type="System.Object" />
|
292 | 292 | </Parameters>
|
293 | 293 | <Docs>
|
294 |
| - <param name="parameter">Data used by the command. If the command does not require data to be passed, this object can be set to <see langword="null" />.</param> |
| 294 | + <param name="parameter">Data used by the command. If the command does not require data to be passed, this object can be set to <see langword="null" />.</param> |
295 | 295 | <summary>Defines the method to be called when the command is invoked.</summary>
|
296 | 296 | <remarks>To be added.</remarks>
|
297 | 297 | <altmember cref="T:System.Windows.Input.ICommandSource" />
|
|
0 commit comments