Summary
Gets or sets a function that is used to convert a view model name to a proposed view name.
- Namespace
- ReactiveUI
- Containing Type
- DefaultViewLocator
Syntax
public Func<string, string> ViewModelToViewFunc { get; set; }
Remarks
If unset, the default behavior is to change "ViewModel" to "View". If a different convention is followed, assign an appropriate function to this property.
Note that the name returned by the function is a starting point for view resolution. Variants on the name will be resolved according to the rules
set out by the ResolveView<T>(T, string)
method.
Value
Type | Description |
---|---|
Func |