PropertyGridEx_src

所属分类:PropertySheet
开发工具:C#
文件大小:33KB
下载次数:16
上传日期:2011-10-31 19:21:40
上 传 者lzmch
说明:  The PropertyGridEx control shows how to add a new tab to the standard System.Winows.Forms.PropertyGrid. In this sample, a custom page shows all instance fields of the selected object. Additionally it shows how to implement and use the IPropertyValueUIService to show additional icons in the grid rows behind the property name. I first saw this when I started using the .NET 3.0 Workflow classes and saw this little blue icon for the DependencyProperties. In this sample, the icons will show an icon if the member is serializable and a second icon if the member implements ISerializable. A double click on the icon will open a (very raw - and probably erroneous) assumption of the resulting serialization graph. For the sake of brevity and readability, I omitted most of the source code from this article. I tried to focus on the approach and not on the implementation details. Those interested should read the source code.
(The PropertyGridEx control shows how to add a new tab to the standard System.Winows.Forms.PropertyGrid. In this sample, a custom page shows all instance fields of the selected object. Additionally it shows how to implement and use the IPropertyValueUIService to show additional icons in the grid rows behind the property name. I first saw this when I started using the .NET 3.0 Workflow classes and saw this little blue icon for the DependencyProperties. In this sample, the icons will show an icon if the member is serializable and a second icon if the member implements ISerializable. A double click on the icon will open a (very raw- and probably erroneous) assumption of the resulting serialization graph. For the sake of brevity and readability, I omitted most of the source code from this article. I tried to focus on the approach and not on the implementation details. Those interested should read the source code.)

文件列表:
PropGirdExTest (0, 2007-01-15)
PropGirdExTest\Form1.cs (3109, 2007-01-15)
PropGirdExTest\Form1.Designer.cs (4479, 2007-01-15)
PropGirdExTest\Form1.resx (6194, 2007-01-15)
PropGirdExTest\Program.cs (481, 2007-01-15)
PropGirdExTest\Properties (0, 2007-01-15)
PropGirdExTest\Properties\AssemblyInfo.cs (1276, 2007-01-15)
PropGirdExTest\Properties\Resources.Designer.cs (2855, 2007-01-15)
PropGirdExTest\Properties\Resources.resx (5612, 2007-01-15)
PropGirdExTest\Properties\Settings.Designer.cs (1097, 2007-01-15)
PropGirdExTest\Properties\Settings.settings (249, 2007-01-15)
PropGirdExTest\PropGridExTest.csproj (3462, 2007-01-15)
MemberGrid.sln (2580, 2007-01-15)
href.controls (0, 2007-01-15)
href.controls\Hosting (0, 2007-01-15)
href.controls\Hosting\DummySite.cs (2005, 2007-01-15)
href.controls\Hosting\PropertyValueUIService.cs (3939, 2007-01-15)
href.controls\href.Controls.csproj (3741, 2007-01-15)
href.controls\href.Controls.csproj.user (168, 2007-01-15)
href.controls\Properties (0, 2007-01-15)
href.controls\Properties\AssemblyInfo.cs (1398, 2007-01-15)
href.controls\Properties\Resources.Designer.cs (4134, 2007-01-15)
href.controls\Properties\Resources.resx (7195, 2007-01-15)
href.controls\PropGridEx (0, 2007-01-15)
href.controls\PropGridEx\DictionaryItemMemberDescriptor.cs (3958, 2007-01-15)
href.controls\PropGridEx\FieldMemberDescriptor.cs (5680, 2007-01-15)
href.controls\PropGridEx\ListItemMemberDescriptor.cs (3441, 2007-01-15)
href.controls\PropGridEx\PropertyGridEx.cs (11087, 2007-01-15)
href.controls\PropGridEx\RawMemberTab.cs (5759, 2007-01-15)
href.controls\Resources (0, 2007-01-15)
href.controls\Resources\Members.png (577, 2007-01-15)
href.controls\Resources\save16.png (454, 2007-01-15)
href.controls\Resources\save_as16.png (706, 2007-01-15)
href.controls\Resources\xmlattribute.png (254, 2007-01-15)
href.controls\Resources\xmlelement.png (241, 2007-01-15)
href.controls\SerializationView.cs (8116, 2007-01-15)
href.controls\SerializationView.Designer.cs (3949, 2007-01-15)
href.controls\SerializationView.resx (5814, 2007-01-15)

近期下载者

相关文件


收藏者