Type Property for French (Canada)
Gets or sets the type of the rule. Read/write.
Usage
ASP.NET markup: | <speech:CommandRule Type="..." /> |
Get value: | CommandType = CommandRule.Type; |
Set value: | CommandRule.Type = CommandType; |
Data type: | CommandType |
Required: | Yes |
Remarks
The value of the Type property must be one of the following:
- First
- Next
- Last
- Previous
- Read
- Repeat
- Header
- Exit
- Select
Example
In the following example code, the Type property is used with the Active property to disable the Read command, and with the Src property to make Back a synonym for the Read CommandRule control.
<DataTableNavigator ... >
...
<CommandRules>
<speech:CommandRule Type="Read" Active="false" />
<speech:CommandRule Type="Previous" Src="Grammars/back.grxml" />
</CommandRules>
...
</DataTableNavigator>
See Also
CommandRule Class | CommandRule Constructor | CommandRule Members | CommandRule Properties | CommandRule Methods | CommandRule Remarks