Dela via


MyNoteBox Class

Use the MyNoteBox control in Lync Control applications to display and change the current user's personal note.

Inheritance Hierarchy

System.Object
  System.Windows.DependencyObject
    System.Windows.UIElement
      System.Windows.FrameworkElement
        System.Windows.Controls.Control
          Microsoft.Lync.Controls.UCBase
            Microsoft.Lync.Controls.SelfBase
              Microsoft.Lync.Controls.MyNoteBox

Namespace:  Microsoft.Lync.Controls
Assembly:  Microsoft.Lync.Controls (in Microsoft.Lync.Controls.dll)

Syntax

'Declaration
<TemplatePartAttribute(Name := "PART_NoteEditTextBox", Type := GetType(TextBox))> _
<TemplatePartAttribute(Name := "PART_EditNoteToggleButton", Type := GetType(ToggleButton))> _
Public Class MyNoteBox _
    Inherits SelfBase
'Usage
Dim instance As MyNoteBox
[TemplatePartAttribute(Name = "PART_NoteEditTextBox", Type = typeof(TextBox))]
[TemplatePartAttribute(Name = "PART_EditNoteToggleButton", Type = typeof(ToggleButton))]
public class MyNoteBox : SelfBase

Remarks

The user can change their personal note by typing in new text and pressing the Enter key.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

MyNoteBox Members

Microsoft.Lync.Controls Namespace