Table of Contents

Interface IPropertyGridMessage

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll
public interface IPropertyGridMessage
Extension Methods

Methods

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

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[])

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)

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