Use the
The choice of using the MyStatusArea control or the subcontrols partly depends on whether you prefer to display the subcontrols together. The MyStatusArea control provides an easy way to display them together. To display them separately, use the subcontrols. Additionally, the MyStatusArea control includes the photo, name, and location of the currently signed-in user.
MyStatusArea Control
The MyStatusArea control displays the MyPresenceChooser and MyNoteBox subcontrols together as a single unit.
Clicking the presence status box displays a list of presence status options like Busy. The user can change their presence status by selecting one of these options. The user can change their note string by typing in new text and pressing the Enter key.
Copy Code | |
---|---|
<StackPanel> <controls:MyStatusArea PhotoDisplayMode="Small"/> </StackPanel> |
MyPresenceChooser Control
The
Clicking the control displays a list of presence status options. The user can change their presence status by selecting one of these options.
Copy Code | |
---|---|
<StackPanel> <controls:MyPresenceChooser/> </StackPanel> |
MyNoteBox Control
The
The user can change their note string by typing in new text and pressing the Enter key.
Copy Code | |
---|---|
<StackPanel> <controls:MyNoteBox/> </StackPanel> |