Home Cooker Classes Others Rice CookerGX
Classes  >  option  >  DefaultSelected
option class : DefaultSelected getter

Description

Gets a value indicating whether it has the selected attribute.

Syntax

optionInstance.DefaultSelected

Arguments

None

Return value

ClassDescription
boolA value indicating whether it has the selected attribute.

Sample code

//anyOption is an instance of option class.

bool initialStatus= anyOption.DefaultSelected;

Notes

If it has the selected attribute, returns true. Otherwise, returns false.

Links for reference

Copyright © Rice All rights reserved.