Свойство | Type | Description | |
---|---|---|---|
RegionContextProperty | DependencyProperty | ||
RegionManagerProperty | DependencyProperty | ||
RegionNameProperty | DependencyProperty |
Méthode | Description | |
---|---|---|
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. |
Méthode | Description | |
---|---|---|
CreateRegion ( DependencyObject element ) : void | ||
IsInDesignMode ( DependencyObject element ) : bool | ||
OnRegionContextChanged ( DependencyObject depObj, DependencyPropertyChangedEventArgs e ) : void | ||
OnSetRegionNameCallback ( DependencyObject element, DependencyPropertyChangedEventArgs args ) : void |
public CreateRegionManager ( ) : IRegionManager | ||
Résultat | IRegionManager |
public static GetObservableRegion ( DependencyObject view ) : ObservableObject |
||
view | DependencyObject | The view that will host the region. |
Résultat | ObservableObject |
public static GetRegionContext ( DependencyObject target ) : object | ||
target | DependencyObject | The target element. |
Résultat | object |
public static GetRegionManager ( DependencyObject target ) : IRegionManager | ||
target | DependencyObject | The target element. |
Résultat | IRegionManager |
public static GetRegionName ( DependencyObject regionTarget ) : string | ||
regionTarget | DependencyObject | The object to adapt. This is typically a container (i.e a control). |
Résultat | string |
public static SetRegionContext ( DependencyObject target, object value ) : void | ||
target | DependencyObject | The target element. |
value | object | The value. |
Résultat | void |
public static SetRegionManager ( DependencyObject target, IRegionManager value ) : void | ||
target | DependencyObject | The target element. |
value | IRegionManager | The value. |
Résultat | 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. |
Résultat | void |
public static DependencyProperty RegionContextProperty | ||
Résultat | DependencyProperty |
public static DependencyProperty RegionManagerProperty | ||
Résultat | DependencyProperty |