Private bool dataChangedEventHandled = false Private PropertyGridParameter FindParam(string name)įoreach (PropertyGridParameter parameter in this.Source) If (value.IsNotEmpty() & value.StartsWith("\"") & value.EndsWith("\"")) Public void RaisePostBackEvent(string eventArgument) Protected override void RaisePostDataChangedEvent() Protected override bool LoadPostData(string postDataKey, NameValueCollection postCollection)īaseLoadPostData = base.LoadPostData(postDataKey, postCollection) Protected virtual void OnDataChanged(EventArgs e)ĮventHandler handler = (EventHandler)Events / Fires when the the PropertyGrid has changed records Private static readonly object EventDataChanged = new object() The value column will take any remaining space. This ensures the editor remains the correct type even if the value is blanked and becomes empty. / True to automatically infer the type based on the initial value passed for each field. / If false then all cells will be read only Public void SetSource(object source, bool clearConfig) This.Call("setSource", JRawValue.From(sourceConfig.Source()), JRawValue.From(sc)) This.Call("setSource", JRawValue.From(sourceConfig.Source())) String sc = sourceConfig.Config(dynamic) Public void SetSource(PropertyGridParameterCollection sourceConfig, bool dynamic) Public void SetSource(PropertyGridParameterCollection sourceConfig) If the grid already contains data, this method will replace any existing data. The values should be supplied in the proper data type if needed, otherwise string type will be assumed. The data object can contain one or more name/value pairs representing all of the properties of an object to display in the grid, and this data will automatically be loaded into the grid's store. / Sets the source data object containing the property data. Protected virtual void RemoveEditor(Field editor) Protected virtual void AddEditor(Field editor) Void Source_AfterItemRemove(PropertyGridParameter item) Void Source_AfterItemAdd(PropertyGridParameter item) Protected virtual string SourceConfigProxy This.source = new PropertyGridParameterCollection() Public virtual PropertyGridParameterCollection Source / A data object to use as the data source of the grid. Private PropertyGridParameterCollection source / true to add css for column separation lines. Public partial class PropertyGrid : GridPanelBase, IPostBackEventHandler Each row in the grid represents a property of some object, and the data is stored as a set of name/value pairs in Properties. / A specialized grid implementation intended to mimic the traditional property grid as typically seen in development IDEs. Please try to rebuild Ext.NET with this PropertyGrid.cs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |