Click or drag to resize
PageSummarySetPageEnabledPropertyT Method
Sets up the automatic page enabled fetcher.

Namespace: VirtualRadar.WinForms.SettingPage
Assembly: VirtualRadar.WinForms (in VirtualRadar.WinForms.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
protected void SetPageEnabledProperty<T>(
	Expression<Func<T, Object>> pageEnabledProperty,
	Func<bool> pageEnabledFetcher
)

Parameters

pageEnabledProperty
Type: System.Linq.ExpressionsExpressionFuncT, Object
A LINQ expression that gives the name of the page enabled property. Set to null if the page enabled state is not held by a single property.
pageEnabledFetcher
Type: SystemFuncBoolean
A function that returns the current value for the page enabled state.

Type Parameters

T
See Also