This commit is contained in:
1 parent
72d9b295a0
commit
5d81c475c8
335 files changed
+7359
No files matched your search
@@ -0,0 +1,50 @@
|
||||
# 源码 API 导航
|
||||
|
||||
下面是当前工作区的声明摘录,不是完整 C# 文件,不包含全部继承成员、访问器和条件编译条件。属性是否可写、依赖属性默认值、枚举成员和目标框架限制,需打开对应源码核对。
|
||||
|
||||
## PropertyGrid
|
||||
|
||||
源码:[src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyGrid.cs](https://github.com/HandyOrg/HandyControl/blob/master/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyGrid.cs)
|
||||
|
||||
```text
|
||||
public class PropertyGrid : Control
|
||||
public PropertyGrid()
|
||||
public virtual PropertyResolver PropertyResolver
|
||||
public event RoutedPropertyChangedEventHandler<object> SelectedObjectChanged
|
||||
public object SelectedObject
|
||||
public string Description
|
||||
public double MaxTitleWidth
|
||||
public double MinTitleWidth
|
||||
public bool ShowSortButton
|
||||
public override void OnApplyTemplate()
|
||||
```
|
||||
|
||||
## PlainTextPropertyEditor
|
||||
|
||||
源码:[src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/PlainTextPropertyEditor.cs](https://github.com/HandyOrg/HandyControl/blob/master/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/PlainTextPropertyEditor.cs)
|
||||
|
||||
```text
|
||||
public class PlainTextPropertyEditor : PropertyEditorBase
|
||||
public override FrameworkElement CreateElement(PropertyItem propertyItem)
|
||||
```
|
||||
|
||||
## PropertyEditorBase
|
||||
|
||||
源码:[src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/PropertyEditorBase.cs](https://github.com/HandyOrg/HandyControl/blob/master/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/PropertyEditorBase.cs)
|
||||
|
||||
```text
|
||||
public abstract class PropertyEditorBase : DependencyObject
|
||||
public abstract FrameworkElement CreateElement(PropertyItem propertyItem);
|
||||
public virtual void CreateBinding(PropertyItem propertyItem, DependencyObject element)
|
||||
public virtual BindingMode GetBindingMode(PropertyItem propertyItem)
|
||||
public virtual UpdateSourceTrigger GetUpdateSourceTrigger(PropertyItem propertyItem)
|
||||
```
|
||||
|
||||
## PlainTextPropertyEditor
|
||||
|
||||
源码:[src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/StringPropertyEditor.cs](https://github.com/HandyOrg/HandyControl/blob/master/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/StringPropertyEditor.cs)
|
||||
|
||||
```text
|
||||
public class PlainTextPropertyEditor : PropertyEditorBase
|
||||
public override FrameworkElement CreateElement(PropertyItem propertyItem)
|
||||
```
|
||||
@@ -0,0 +1,19 @@
|
||||
# PropertyGrid 属性编辑器 使用导航
|
||||
|
||||
文档:[doc/source/handycontrol/extend_controls/propertyGrid/index.md](https://github.com/HandyOrg/HandyControl/blob/master/doc/source/handycontrol/extend_controls/propertyGrid/index.md)
|
||||
|
||||
在线文档:[控件说明](https://handyorg.github.io/handycontrol/extend_controls/propertyGrid/)
|
||||
|
||||
按任务阅读原文中的章节:属性、自带编辑器、事件、案例、基础用法、自定义编辑器。
|
||||
|
||||
## 当前源码
|
||||
|
||||
- [src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyGrid.cs](https://github.com/HandyOrg/HandyControl/blob/master/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyGrid.cs)
|
||||
- [src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/PlainTextPropertyEditor.cs](https://github.com/HandyOrg/HandyControl/blob/master/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/PlainTextPropertyEditor.cs)
|
||||
- [src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/StringPropertyEditor.cs](https://github.com/HandyOrg/HandyControl/blob/master/src/Shared/HandyControl_Shared/Controls/PropertyGrid/Editors/StringPropertyEditor.cs)
|
||||
|
||||
## 样式及官方示例
|
||||
|
||||
- [src/Shared/HandyControl_Shared/Themes/Styles/PropertyGrid.xaml](https://github.com/HandyOrg/HandyControl/blob/master/src/Shared/HandyControl_Shared/Themes/Styles/PropertyGrid.xaml)
|
||||
- [src/Shared/HandyControlDemo_Shared/UserControl/Controls/PropertyGridDemo.xaml](https://github.com/HandyOrg/HandyControl/blob/master/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PropertyGridDemo.xaml)
|
||||
- [src/Shared/HandyControlDemo_Shared/UserControl/Controls/PropertyGridDemo.xaml.cs](https://github.com/HandyOrg/HandyControl/blob/master/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PropertyGridDemo.xaml.cs)
|
||||
Reference in new issue
Block a user