Skip to content

AvatarGrid


When assigning a rule to a property of AvatarGrid, the rule will be passed an instance of the following proxy class as an argument:


AvatarGrid Properties

Property Type Required Default
Avatar Avatar No
Avatars complex Yes
BindingCollection Bindable No
GridMax integer No 5
ImageIsCircular boolean No true

Avatar

Dynamic binding of Avatar that contains image or image text to be displayed.


Avatars

Static binding of Avatar that contains image or image text to be displayed.

  • type: complex

Avatars Value

Any following options needs to be fulfilled.

Option 1

Array type:

All items must be of the type:

Option 2


BindingCollection

Definition of the BindingCollection to dynamically populate the collection. You can set this to binding/rule to return an array of data items.

Note: If this is set to binding/rule, you must return an array of data items.


GridMax

Maximum number of avatars to be displayed in AvatarGrid including extra avatar counter.

  • type: integer
  • default: 5

ImageIsCircular

If the value is true, the image in grid is displayed in a circular shape. Otherwise, it will be a square.

  • type: boolean
  • default: true