Table of Contents

Class PropertyGridMessage

Namespace
HeBianGu.Control.PropertyGrid
Assembly
HeBianGu.Control.PropertyGrid.dll
public class PropertyGridMessage : ServiceSettingInstance<PropertyGridMessage, IPropertyGridMessage>, INotifyPropertyChanged, IDisplayer, ISetting, IPropertyGridMessage, IPropertyGridMessageOption
Inheritance
PropertyGridMessage
Implements
Inherited Members
Extension Methods

Properties

Builder

[Browsable(false)]
public Action<PropertyGrid> Builder { get; set; }

Property Value

Action<PropertyGrid>

Methods

ShowEdit<T>(T, Predicate<T>, string, Action<IPropertyGridOption>, ComponentResourceKey)

public Task<bool> ShowEdit<T>(T value, Predicate<T> match = null, string title = "编辑", Action<IPropertyGridOption> builder = null, ComponentResourceKey key = null)

Parameters

value T
match Predicate<T>
title string
builder Action<IPropertyGridOption>
key ComponentResourceKey

Returns

Task<bool>

Type Parameters

T

ShowEdits(string, params object[])

public Task<bool> ShowEdits(string title = "编辑", params object[] value)

Parameters

title string
value object[]

Returns

Task<bool>

ShowView<T>(T, Predicate<T>, string, Action<IPropertyGridOption>, ComponentResourceKey)

public Task<bool> ShowView<T>(T value, Predicate<T> match = null, string title = "详情", Action<IPropertyGridOption> builder = null, ComponentResourceKey key = null)

Parameters

value T
match Predicate<T>
title string
builder Action<IPropertyGridOption>
key ComponentResourceKey

Returns

Task<bool>

Type Parameters

T