Hi all![]()
How to create sub property
Above code creting single property and we can set this propertyCode:public class control { private bool first; public bool one1 { get { return _one1; } set { _one1 = value; } } }
But can we create sub property like in this wayCode:control.one1=false
Because we can see this property in Label classCode:control.one1.visible=false control.one1.Caption="shakti"
Hope you got my problemCode:Label.Visible=False Label.Caption="My Name"
Thanks




Reply With Quote