Active Property for French (Canada)
Gets or sets whether the rule is active. Read/write.
Usage
ASP.NET markup: | <speech:CommandRule Active="..." /> |
Get value: | Bool = CommandRule.Active; |
Set value: | CommandRule.Active = Bool; |
Data type: | Bool |
Required: | No; Default = True |
Remarks
The Active property can be used to activate and deactivate a CommandRule programmatically.
Example
In the following example code, the Active property is used with the Type property to disable the Read CommandRule control.
<DataTableNavigator ... >
...
<CommandRules>
<speech:CommandRule Type="Read" Active="false" />
</CommandRules>
...
</DataTableNavigator>
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 command.
<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