PageSummarySetPageEnabledPropertyT Method |
Sets up the automatic page enabled fetcher.
Namespace: VirtualRadar.WinForms.SettingPageAssembly: 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
)
Protected Sub SetPageEnabledProperty(Of T) (
pageEnabledProperty As Expression(Of Func(Of T, Object)),
pageEnabledFetcher As Func(Of Boolean)
)
protected:
generic<typename T>
void SetPageEnabledProperty(
Expression<Func<T, Object^>^>^ pageEnabledProperty,
Func<bool>^ pageEnabledFetcher
)
member SetPageEnabledProperty :
pageEnabledProperty : Expression<Func<'T, Object>> *
pageEnabledFetcher : Func<bool> -> unit
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