PageSummarySetPageTitlePropertyT Method |
Sets up the automatic page title fetcher.
Namespace: VirtualRadar.WinForms.SettingPageAssembly: VirtualRadar.WinForms (in VirtualRadar.WinForms.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax protected void SetPageTitleProperty<T>(
Expression<Func<T, Object>> pageTitleProperty,
Func<string> pageTitleFetcher
)
Protected Sub SetPageTitleProperty(Of T) (
pageTitleProperty As Expression(Of Func(Of T, Object)),
pageTitleFetcher As Func(Of String)
)
protected:
generic<typename T>
void SetPageTitleProperty(
Expression<Func<T, Object^>^>^ pageTitleProperty,
Func<String^>^ pageTitleFetcher
)
member SetPageTitleProperty :
pageTitleProperty : Expression<Func<'T, Object>> *
pageTitleFetcher : Func<string> -> unit
Parameters
- pageTitleProperty
- Type: System.Linq.ExpressionsExpressionFuncT, Object
A LINQ expression that gives the name of the page title property. Set to null if the page title is a composite of many properties. - pageTitleFetcher
- Type: SystemFuncString
A function that returns the current value for the page title.
Type Parameters
- T
See Also