Class AbstractUnboundPopupControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Wpf.dll
A class that contains Viewmodel bindings for the Popup control.
public abstract class AbstractUnboundPopupControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : Popup
Type Parameters
TView
TViewModel
TControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundPopupControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundPopupControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundPopupControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundPopupControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpression
Expression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
AllowsTransparency
Gets or sets the binding logic for AllowsTransparency
public IOneOrTwoWayBind<TViewModel, bool>? AllowsTransparency { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
Child
Gets or sets the binding logic for Child
public IOneOrTwoWayBind<TViewModel, UIElement>? Child { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, UIElement>
CustomPopupPlacementCallback
Gets or sets the binding logic for CustomPopupPlacementCallback
public IOneOrTwoWayBind<TViewModel, CustomPopupPlacementCallback>? CustomPopupPlacementCallback { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, CustomPopupPlacementCallback>
HasDropShadow
Gets or sets the binding logic for HasDropShadow
public IOneWayBind<TViewModel, bool>? HasDropShadow { get; init; }
Property Value
- IOneWayBind<TViewModel, bool>
HorizontalOffset
Gets or sets the binding logic for HorizontalOffset
public IOneOrTwoWayBind<TViewModel, double>? HorizontalOffset { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
IsOpen
Gets or sets the binding logic for IsOpen
public IOneOrTwoWayBind<TViewModel, bool>? IsOpen { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
Placement
Gets or sets the binding logic for Placement
public IOneOrTwoWayBind<TViewModel, PlacementMode>? Placement { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, PlacementMode>
PlacementRectangle
Gets or sets the binding logic for PlacementRectangle
public IOneOrTwoWayBind<TViewModel, Rect> PlacementRectangle { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Rect>
PlacementTarget
Gets or sets the binding logic for PlacementTarget
public IOneOrTwoWayBind<TViewModel, UIElement>? PlacementTarget { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, UIElement>
PopupAnimation
Gets or sets the binding logic for PopupAnimation
public IOneOrTwoWayBind<TViewModel, PopupAnimation>? PopupAnimation { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, PopupAnimation>
StaysOpen
Gets or sets the binding logic for StaysOpen
public IOneOrTwoWayBind<TViewModel, bool>? StaysOpen { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
VerticalOffset
Gets or sets the binding logic for VerticalOffset
public IOneOrTwoWayBind<TViewModel, double>? VerticalOffset { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
Methods
ApplyBindings(TView, TViewModel, Action<IDisposable>)
Applies the binding between the view and the view model.
public override void ApplyBindings(TView view, TViewModel viewModel, Action<IDisposable> registerForDisposalAction)
Parameters
view
TViewThe view.
viewModel
TViewModelThe viewmodel.
registerForDisposalAction
Action<IDisposable>
ApplyBindings(TView, TViewModel, CompositeDisposable)
Applies the binding between the view and the view model.
public override void ApplyBindings(TView view, TViewModel viewModel, CompositeDisposable compositeDisposable)
Parameters
view
TViewThe view.
viewModel
TViewModelThe viewmodel.
compositeDisposable
CompositeDisposableThe disposable container to register disposals against.