(Combo box, Event, Eye dropper, OR, Control, )
1) An
refer to the occurrence of a user's activity.
2) The
conto
Answers
Answered by
1
Answer:
IF IT IS CORRECT MARK ME AS BRAIN LIST PLEASE!!!
Explanation:
public event EventHandler DropDownOpened;
Event Type
EventHandler
Examples
The following example shows how to assign event handlers and handle the DropDownOpened and DropDownClosed events.
XAML
Copy
<ComboBox Name="cb" StaysOpenOnEdit="true" IsEditable="true" DropDownOpened="OnDropDownOpened"
DropDownClosed="OnDropDownClosed">
C#
Copy
void OnDropDownOpened(object sender, EventArgs e)
{
if (cb.IsDropDownOpen == true)
{
cb.Text = "Combo box opened";
}
}
void OnDropDownClosed(object sender, EventArgs e)
{
if (cb.IsDropDownOpen == false)
{
cb.Text = "Combo box closed";
}
}
Similar questions