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)
|
||||
```
|
||||
Reference in new issue
Block a user