- radioButton.SetName( "radioSelectEnable" );
- radioButton.SetParentOrigin( ParentOrigin::TOP_LEFT );
- radioButton.SetAnchorPoint( AnchorPoint::TOP_LEFT );
- radioButton.SetPosition( 0, 0 );
- radioButton.SetSelected( true );
+ radioButton.SetProperty( Dali::Actor::Property::NAME, "radioSelectEnable" );
+ radioButton.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::TOP_LEFT );
+ radioButton.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_LEFT );
+ radioButton.SetProperty( Actor::Property::POSITION, Vector2( 0, 0 ));
+ radioButton.SetProperty( Toolkit::Button::Property::SELECTED, true );