You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
2.8 KiB
59 lines
2.8 KiB
<!--*********************************************************************
|
|
|
|
Extended WPF Toolkit
|
|
|
|
Copyright (C) 2010-2012 Xceed Software Inc.
|
|
|
|
This program is provided to you under the terms of the Microsoft Reciprocal
|
|
License (Ms-RL) as published at http://wpftoolkit.codeplex.com/license
|
|
|
|
This program can be provided to you by Xceed Software Inc. under a
|
|
proprietary commercial license agreement for use in non-Open Source
|
|
projects. The commercial version of Extended WPF Toolkit also includes
|
|
priority technical support, commercial updates, and many additional
|
|
useful WPF controls if you license Xceed Business Suite for WPF.
|
|
|
|
Visit http://xceed.com and follow @datagrid on Twitter.
|
|
|
|
********************************************************************-->
|
|
<sample:DemoView x:Class="Samples.Modules.BusyIndicator.Views.BusyIndicatorCustomContentView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:sample="clr-namespace:Samples.Infrastructure.Controls;assembly=Samples.Infrastructure"
|
|
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
|
|
Title="BusyIndicator">
|
|
<sample:DemoView.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="/Samples.Modules.Busyindicator;component/Resources/Common.xaml" />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
</sample:DemoView.Resources>
|
|
|
|
<Grid>
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Text="This example demonstrates how to define your own custom content. This is done by setting the BusyContent property."
|
|
TextWrapping="Wrap" />
|
|
|
|
<StackPanel Grid.Row="1" Margin="10">
|
|
<TextBlock Text="Custom Content:" Style="{StaticResource Header}" />
|
|
<xctk:BusyIndicator IsBusy="True">
|
|
<xctk:BusyIndicator.BusyContent>
|
|
<StackPanel Orientation="Horizontal">
|
|
<Image Source="/Samples.Modules.BusyIndicator;component/Images/CdBurning32.png" />
|
|
<StackPanel Margin="5,0">
|
|
<TextBlock Text="Burning CD..." VerticalAlignment="Center" />
|
|
<TextBlock Text="Madonna - Like a Virgin" VerticalAlignment="Center" Margin="8,0" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</xctk:BusyIndicator.BusyContent>
|
|
<ContentControl ContentTemplate="{StaticResource SampleContent}" />
|
|
</xctk:BusyIndicator>
|
|
</StackPanel>
|
|
</Grid>
|
|
</sample:DemoView>
|
|
|