public string Caption { get { return _Caption; } set { _Caption = value; lblCaption.Text = _Caption; } }On the line where the text of the label is being set I'm getting 'Object reference not set to an instance of an object'.
Header HeaderName = new Header(); HeaderName.Caption = "Name"; ; HeaderName.Width = 100; HeaderName.Key = "name";