private void CommandBar_TextChanged(object sender, EventArgs e) { CommandBar commandBar = (CommandBar) sender; this.UpdateBand(commandBar); }