Table of Contents

Class PropertyConditionPrensenter

Namespace
H.Controls.FilterBox
Assembly
H.Controls.FilterBox.dll
[Display(Name = "设置条件")]
public class PropertyConditionPrensenter : DisplayBindableBase, INotifyPropertyChanged, IDisplayBindable, IIconable, INameable, IOrderable, IGroupable, IDable, IDescriptionable, IConditionable, IMetaSetting
Inheritance
PropertyConditionPrensenter
Implements
Inherited Members
Extension Methods

Constructors

PropertyConditionPrensenter()

public PropertyConditionPrensenter()

PropertyConditionPrensenter(Type, Func<PropertyInfo, bool>)

public PropertyConditionPrensenter(Type modelTyle, Func<PropertyInfo, bool> predicate = null)

Parameters

modelTyle Type
predicate Func<PropertyInfo, bool>

Properties

AddConditionCommand

[JsonIgnore]
public RelayCommand AddConditionCommand { get; }

Property Value

RelayCommand

ClearConditionCommand

[JsonIgnore]
public RelayCommand ClearConditionCommand { get; }

Property Value

RelayCommand

ConditionOperate

[TypeConverter(typeof(EnumConverter))]
public ConditionOperate ConditionOperate { get; set; }

Property Value

ConditionOperate

Conditions

public ObservableCollection<IPropertyConfidtion> Conditions { get; set; }

Property Value

ObservableCollection<IPropertyConfidtion>

MetaSettingService

[JsonIgnore]
public IMetaSettingService MetaSettingService { get; }

Property Value

IMetaSettingService

Properties

[JsonIgnore]
public ObservableCollection<PropertyInfo> Properties { get; set; }

Property Value

ObservableCollection<PropertyInfo>

SaveCommand

[JsonIgnore]
public RelayCommand SaveCommand { get; }

Property Value

RelayCommand

Methods

IsMatch(object)

public bool IsMatch(object obj)

Parameters

obj object

Returns

bool

Load()

public void Load()

Save(out string)

public bool Save(out string message)

Parameters

message string

Returns

bool