Table of Contents

Class AbstractUnboundSfAvatarViewControlBindingModel<TView, TViewModel, TControl>

Namespace
Whipstaff.Wpf.ViewToViewModelBindings.Syncfusion.Windows.Shared
Assembly
Whipstaff.Wpf.Syncfusion.SfDiagram.dll

A class that contains Viewmodel bindings for the Syncfusion.Windows.Shared.SfAvatarView control.

public abstract class AbstractUnboundSfAvatarViewControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : SfAvatarView

Type Parameters

TView
TViewModel
TControl
Inheritance
AbstractControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundSfAvatarViewControlBindingModel<TView, TViewModel, TControl>
Implements
IControlBindingModel<TView, TViewModel>
Derived
Inherited Members

Constructors

AbstractUnboundSfAvatarViewControlBindingModel(Expression<Func<TView, TControl>>)

protected AbstractUnboundSfAvatarViewControlBindingModel(Expression<Func<TView, TControl>> viewExpression)

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

AvatarCharacter

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.AvatarCharacter

public IOneOrTwoWayBind<TViewModel, AvatarCharacter>? AvatarCharacter { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, AvatarCharacter>

AvatarName

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.AvatarName

public IOneOrTwoWayBind<TViewModel, string>? AvatarName { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, string>

AvatarShape

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.AvatarShape

public IOneOrTwoWayBind<TViewModel, AvatarShape>? AvatarShape { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, AvatarShape>

AvatarSize

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.AvatarSize

public IOneOrTwoWayBind<TViewModel, AvatarSize>? AvatarSize { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, AvatarSize>

BackgroundColorMemberPath

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.BackgroundColorMemberPath

public IOneOrTwoWayBind<TViewModel, string>? BackgroundColorMemberPath { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, string>

Content

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.Content

public IOneOrTwoWayBind<TViewModel, object>? Content { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, object>

ContentMemberPath

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.ContentMemberPath

public IOneOrTwoWayBind<TViewModel, string>? ContentMemberPath { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, string>

ContentTemplate

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.ContentTemplate

public IOneOrTwoWayBind<TViewModel, DataTemplate>? ContentTemplate { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, DataTemplate>

ContentType

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.ContentType

public IOneOrTwoWayBind<TViewModel, AvatarContentType>? ContentType { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, AvatarContentType>

CornerRadius

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.CornerRadius

public IOneOrTwoWayBind<TViewModel, CornerRadius>? CornerRadius { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, CornerRadius>

FontSize

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.FontSize

public IOneOrTwoWayBind<TViewModel, double>? FontSize { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, double>

GroupSource

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.GroupSource

public IOneOrTwoWayBind<TViewModel, IEnumerable>? GroupSource { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, IEnumerable>

Height

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.Height

public IOneOrTwoWayBind<TViewModel, double>? Height { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, double>

ImageSource

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.ImageSource

public IOneOrTwoWayBind<TViewModel, ImageSource>? ImageSource { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, ImageSource>

ImageSourceMemberPath

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.ImageSourceMemberPath

public IOneOrTwoWayBind<TViewModel, string>? ImageSourceMemberPath { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, string>

InitialsColorMemberPath

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.InitialsColorMemberPath

public IOneOrTwoWayBind<TViewModel, string>? InitialsColorMemberPath { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, string>

InitialsMemberPath

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.InitialsMemberPath

public IOneOrTwoWayBind<TViewModel, string>? InitialsMemberPath { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, string>

InitialsType

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.InitialsType

public IOneOrTwoWayBind<TViewModel, AvatarInitialsType>? InitialsType { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, AvatarInitialsType>

Width

Gets or sets the binding logic for Syncfusion.Windows.Shared.SfAvatarView.Width

public IOneOrTwoWayBind<TViewModel, double>? Width { 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 TView

The view.

viewModel TViewModel

The 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 TView

The view.

viewModel TViewModel

The viewmodel.

compositeDisposable CompositeDisposable

The disposable container to register disposals against.