Intersoft.Client.UI.Navigation Namespace > UXPage Class : BlockUIOnBusy Property |
<CategoryAttribute("Common Properties")> Public Property BlockUIOnBusy As Boolean
Dim instance As UXPage Dim value As Boolean instance.BlockUIOnBusy = value value = instance.BlockUIOnBusy
[CategoryAttribute("Common Properties")] public bool BlockUIOnBusy {get; set;}
[CategoryAttribute("Common Properties")] public: property bool BlockUIOnBusy { bool get(); void set ( bool value); }
In most cases, you may want to block the user interface from being accessible by users when processing a longer operation such as data loading or updating. To do this, you simply set the BlockUIOnBusy property of the page to true.
With BlockUIOnBusy enabled, the user interface elements such as text boxes, buttons and other input controls will be automatically disabled when the IsBusy property of the page is set to true. In addition, the cursor will indicate a busy state for the page region which complies to usability standards.
For more information, see Advanced Features in ClientUI Navigation Framework.
<Intersoft:UXPage ... xmlns:Intersoft="http://intersoft.clientui.com/schemas" xmlns:ViewModels="clr-namespace:ClientUIBusinessApp1.ViewModels" x:Class="ClientUIBusinessApp1.RegisterForm" IsBusy="{Binding Path=IsBusy}" BlockUIOnBusy="true"> <Intersoft:UXPage.DataContext> <ViewModels:RegisterFormViewModel/> </Intersoft:UXPage.DataContext> <Grid x:Name="LayoutRoot"> ... </Grid> </Intersoft:UXPage>
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2