WpfViewForMixins.GetIsDesignMode(TView) method¶
Defined in
Type: WpfViewForMixins
Namespace: ReactiveUI
Assembly: ReactiveUI.Wpf.dll
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net462, net481
public static bool GetIsDesignMode<TView>(this TView item) where TView : FrameworkElement, IActivatableView
Summary: Gets a value indicating whether the WPF view is currently being loaded by a designer surface.
Type parameters
| Name | Description |
|---|---|
TView | The view type. |
Parameters
| Name | Type | Description |
|---|---|---|
item | TView | The view being activated. |
Returns: bool -- true when the WPF designer is loading the view; otherwise, false.