/// <summary> /// Initializes a new instance of the <see cref="T:ObjProperty"/> class. /// </summary> /// <param name="property">The propertyInfo object that will reflect on objects later on to display information with</param> /// <param name="propertyIndex">An array of index parameters if the property parameter represents an indexex property</param> /// <param name="nested">If the information required resides in a property's property, this parameter represents that information</param> public ObjProperty(PropertyInfo property, object[] propertyIndex, ObjProperty nested) { this.property = property; this.nested = nested; this.propertyIndex = propertyIndex; if (property != null) { object[] attr = property.GetCustomAttributes(typeof(EditStrAttribute), true); if (attr != null && attr.Length > 0) { editType = ((EditStrAttribute)attr[0]).EditType; } } }
/// <summary> /// Initializes a new instance of the <see cref="T:ObjProperty"/> class. /// </summary> /// <param name="property">The propertyInfo object that will reflect on objects later on to display information with</param> /// <param name="propertyIndex">An array of index parameters if the property parameter represents an indexex property</param> /// <param name="nested">If the information required resides in a property's property, this parameter represents that information</param> public ObjProperty(PropertyInfo property,object[] propertyIndex, ObjProperty nested) { this.property=property; this.nested=nested; this.propertyIndex=propertyIndex; if(property!=null) { object[] attr = property.GetCustomAttributes(typeof(EditStrAttribute),true); if(attr!=null && attr.Length>0) { editType = ((EditStrAttribute)attr[0]).EditType; } } }
/// <summary> /// Initializes a new instance of the <see cref="T:ObjProperty"/> class. /// </summary> /// <param name="property">The propertyInfo object that will reflect on objects later on to display information with</param> /// <param name="nested">If the information required resides in a property's property, this parameter represents that information</param> public ObjProperty(PropertyInfo property, ObjProperty nested) : this(property, null, nested) { }
/// <summary> /// Initializes a new instance of the <see cref="T:ObjProperty"/> class. /// </summary> /// <param name="property">The propertyInfo object that will reflect on objects later on to display information with</param> /// <param name="nested">If the information required resides in a property's property, this parameter represents that information</param> public ObjProperty(PropertyInfo property, ObjProperty nested):this(property,null,nested) { }
/// <summary> /// Initializes a new instance of the <see cref="T:CustomListColumn"/> class. /// </summary> /// <param name="title">Column title</param> /// <param name="property">PropertyInfo that will reflect on the objects contained in the list</param> public CustomListColumn(string title, System.Reflection.PropertyInfo property) { this.title = title; this.colProperty = new ObjProperty(property); }
/// <summary> /// Initializes a new instance of the <see cref="T:CustomListColumn"/> class. /// </summary> /// <param name="title">Column title</param> /// <param name="property">ObjProperty that will reflect on the objects contained in the list</param> public CustomListColumn(string title, ObjProperty property) { this.title = title; this.colProperty = property; }
/// <summary> /// Initializes a new instance of the <see cref="T:CustomListColumn"/> class. /// </summary> /// <param name="title">Column title</param> /// <param name="property">PropertyInfo that will reflect on the objects contained in the list</param> public CustomListColumn(string title, System.Reflection.PropertyInfo property) { this.title=title; this.colProperty = new ObjProperty(property); }
/// <summary> /// Initializes a new instance of the <see cref="T:CustomListColumn"/> class. /// </summary> /// <param name="title">Column title</param> /// <param name="property">ObjProperty that will reflect on the objects contained in the list</param> public CustomListColumn(string title, ObjProperty property) { this.title=title; this.colProperty=property; }