FocusStateChng
API Reference
>
FocusStateChng
| SoapAction | n/a |
| Input Name | FocusStateChng |
| Output Name | FocusStateChngResponse |
| Input Namespace | n/a |
| Group Name | Xperience |
| Container | XP_MsgBus.xsd |
Did this page help you?
Last updated Mon Dec 9 2024
| SoapAction | n/a |
| Input Name | FocusStateChng |
| Output Name | FocusStateChngResponse |
| Input Namespace | n/a |
| Group Name | Xperience |
| Container | XP_MsgBus.xsd |
this.messageBus.Subscribe<FocusStateChngRq_MType>(this.OnFocusStateChange, SubscriptionThreadOption.UIThread);
private void OnFocusStateChange(IMessageContext context)
{
if (this.MessageError(context))
{
return;
}
var payload = context.DeserializeMessage<FocusStateChngRq_MType>();
this.UpdateListbox(string.Concat("FocusChange.WinId: ", payload.WinId != null ? payload.WinId.Value : "null"));
this.UpdateListbox(string.Concat("FocusChange.WinState: ", payload.WinState != null ? payload.WinState.Value : "null"));
this.UpdateListbox(string.Concat("FocusChange.WinType: ", payload.WinType != null ? payload.WinType.Value : "null"), false, true);
}