Class AbstractUnboundToolTipControlBindingModel<TView, TViewModel, TControl>
A class that contains Viewmodel bindings for the ToolTip control.
public abstract class AbstractUnboundToolTipControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundContentControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : ToolTip
Type Parameters
TViewTViewModelTControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundContentControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundToolTipControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundToolTipControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundToolTipControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundToolTipControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpressionExpression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
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 IOneOrTwoWayBind<TViewModel, bool>? HasDropShadow { get; init; }
Property Value
- IOneOrTwoWayBind<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>
ShowsToolTipOnKeyboardFocus
Gets or sets the binding logic for ShowsToolTipOnKeyboardFocus
public IOneOrTwoWayBind<TViewModel, bool?>? ShowsToolTipOnKeyboardFocus { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool?>
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
viewTViewThe view.
viewModelTViewModelThe viewmodel.
registerForDisposalActionAction<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
viewTViewThe view.
viewModelTViewModelThe viewmodel.
compositeDisposableCompositeDisposableThe disposable container to register disposals against.