Hi all
How to create sub property


Code:
public class control
{
 private bool first;
    public bool one1
    {
        get
        {
            return _one1;
        }
        set
        {
            _one1 = value;
        }
    }
}
Above code creting single property and we can set this property

Code:
control.one1=false
But can we create sub property like in this way


Code:
control.one1.visible=false
control.one1.Caption="shakti"
Because we can see this property in Label class

Code:
Label.Visible=False
Label.Caption="My Name"
Hope you got my problem
Thanks