Click or drag to resize
PageSummary.SetPageEnabledProperty<T> 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.Expressions.Expression<Func<T, 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: System.Func<Boolean>
A function that returns the current value for the page enabled state.

Type Parameters

T
See Also