Habanero.BO.Loaders.XmlUIGridColumnLoader.LoadPropertyName C# (CSharp) Method

LoadPropertyName() private method

Loads the property name from the reader. This method is called by LoadFromReader().
private LoadPropertyName ( ) : void
return void
        private void LoadPropertyName()
        {
            _propertyName = _reader.GetAttribute("property");
            if (string.IsNullOrEmpty(_propertyName))
            {
                throw new InvalidXmlDefinitionException("In a 'column' " +
                    "element, the 'property' attribute was not specified. This " +
                    "attribute specifies which property of the class to display " +
                    "in the column.");
            }
        }