Свойство | Тип | Описание | |
---|---|---|---|
RegionContextProperty | DependencyProperty | ||
RegionManagerProperty | DependencyProperty | ||
RegionNameProperty | DependencyProperty |
Метод | Описание | |
---|---|---|
CreateRegionManager ( ) : IRegionManager |
Creates a new region manager.
|
|
GetObservableRegion ( DependencyObject view ) : ObservableObject |
Returns an ObservableObject{T} wrapper that can hold an IRegion. Using this wrapper you can detect when an IRegion has been created by the RegionAdapterBase{T}. If the ObservableObject{T} wrapper does not yet exist, a new wrapper will be created. When the region gets created and assigned to the wrapper, you can use the ObservableObject{T}.PropertyChanged event to get notified of that change.
|
|
GetRegionContext ( DependencyObject target ) : object |
Gets the value of the RegionContextProperty attached property.
|
|
GetRegionManager ( DependencyObject target ) : IRegionManager |
Gets the value of the RegionNameProperty attached property.
|
|
GetRegionName ( DependencyObject regionTarget ) : string |
Gets the value for the RegionNameProperty attached property.
|
|
RegionManager ( ) : System |
Initializes a new instance of RegionManager.
|
|
SetRegionContext ( DependencyObject target, object value ) : void |
Sets the RegionContextProperty attached property.
|
|
SetRegionManager ( DependencyObject target, IRegionManager value ) : void |
Sets the RegionManagerProperty attached property.
|
|
SetRegionName ( DependencyObject regionTarget, string regionName ) : void |
Sets the RegionNameProperty attached property.
|
|
UpdateRegions ( ) : void |
Notifies attached behaviors to update the region managers appropriatelly if needed to. This method is normally called internally, and there is usually no need to call this from user code. |
Метод | Описание | |
---|---|---|
CreateRegion ( DependencyObject element ) : void | ||
IsInDesignMode ( DependencyObject element ) : bool | ||
OnRegionContextChanged ( DependencyObject depObj, DependencyPropertyChangedEventArgs e ) : void | ||
OnSetRegionNameCallback ( DependencyObject element, DependencyPropertyChangedEventArgs args ) : void |
public CreateRegionManager ( ) : IRegionManager | ||
Результат | IRegionManager |
public static GetObservableRegion ( DependencyObject view ) : ObservableObject |
||
view | DependencyObject | The view that will host the region. |
Результат | ObservableObject |
public static GetRegionContext ( DependencyObject target ) : object | ||
target | DependencyObject | The target element. |
Результат | object |
public static GetRegionManager ( DependencyObject target ) : IRegionManager | ||
target | DependencyObject | The target element. |
Результат | IRegionManager |
public static GetRegionName ( DependencyObject regionTarget ) : string | ||
regionTarget | DependencyObject | The object to adapt. This is typically a container (i.e a control). |
Результат | string |
public static SetRegionContext ( DependencyObject target, object value ) : void | ||
target | DependencyObject | The target element. |
value | object | The value. |
Результат | void |
public static SetRegionManager ( DependencyObject target, IRegionManager value ) : void | ||
target | DependencyObject | The target element. |
value | IRegionManager | The value. |
Результат | void |
public static SetRegionName ( DependencyObject regionTarget, string regionName ) : void | ||
regionTarget | DependencyObject | The object to adapt. This is typically a container (i.e a control). |
regionName | string | The name of the region to register. |
Результат | void |
public static DependencyProperty RegionContextProperty | ||
Результат | DependencyProperty |
public static DependencyProperty RegionManagerProperty | ||
Результат | DependencyProperty |