or
<telerik:RadMap x:Name="radmap" Margin="0" GeoBoundsNW="{Binding GeoBoundsNw, Mode=TwoWay}" Center="30.402077, -81.524325" GeoBoundsSE="{Binding GeoBoundsSe, Mode=TwoWay}" MinZoomLevel="13" MaxZoomLevel="20" ZoomLevel="16" NavigationVisibility="Collapsed" ZoomBarPresetsVisibility="Collapsed" DataContext="{Binding CurrentMap}" MouseClickMode="None"><telerik:RadMap.Providers> <telerik:UriImageProvider GeoBoundsNW="{Binding GeoBoundsNw, Mode=TwoWay}" GeoBoundsSE="{Binding GeoBoundsSe, Mode=TwoWay}" GeoBounds="{Binding GeoBounds, Mode=TwoWay}" Uri="my uri" telerik:MapLayer.ZoomRange="13,20" MinZoomLevel="13" MaxZoomLevel="20" /> </telerik:RadMap.Providers> </telerik:RadMap>|
Requirements |
|
| RadControls version | |
| .NET version | |
| Visual Studio 2012 | |
| WPF | |
| browser support |
all browsers supported by RadControls |
<Grid.Resources> <Style TargetType="{x:Type telerik:RadGanttView}"> <Style.Resources> <Style TargetType="telerik:ColumnHeaderContainer"> <Setter Property="Visibility" Value="Hidden" /> </Style> <Style TargetType="{x:Type ToggleButton}"> <Style.Resources> <Style TargetType="Path"> <Setter Property="Fill" Value="White" /> </Style> </Style.Resources> </Style> <Style TargetType="Path"> <Setter Property="Fill" Value="White" /> </Style> <Style TargetType="telerik:SimpleTreeCellContainer"> <Style.Resources> <Style TargetType="{x:Type ToggleButton}"> <Style.Resources> <Style TargetType="Path"> <Setter Property="Fill" Value="White" /> </Style> </Style.Resources> </Style> <Style TargetType="Path"> <Setter Property="Fill" Value="White" /> </Style> </Style.Resources> <Setter Property="Path.Fill" Value="White" /> <Setter Property="Background" Value="Transparent" /> <Setter Property="Foreground" Value="White" /> </Style> <Style TargetType="telerik:TreeCellContainer"> <Style.Resources> <Style TargetType="{x:Type ToggleButton}"> <Style.Resources> <Style TargetType="Path"> <Setter Property="Fill" Value="White" /> </Style> </Style.Resources> </Style> <Style TargetType="Path"> <Setter Property="Fill" Value="White" /> </Style> </Style.Resources> <Setter Property="Path.Fill" Value="White" /> <Setter Property="Background" Value="Transparent" /> <Setter Property="Foreground" Value="White" /> </Style> <Style TargetType="telerik:AlternatingBorderContainer"> <Setter Property="Background" Value="Transparent" /> <Setter Property="Foreground" Value="White" /> </Style> <Style TargetType="telerik:MajorTickContainer"> <Setter Property="Foreground" Value="White" /> </Style> <Style TargetType="telerik:GroupTickContainer"> <Setter Property="Visibility" Value="Collapsed" /> </Style> <Style TargetType="telerik:GanttPresenterSplitter"> <Setter Property="Background" Value="Black" /> </Style> <Style TargetType="telerik:GanttPresenterPanel"> <Style.Resources> <Style TargetType="telerik:GanttPresenterSplitter"> <Setter Property="Background" Value="Black" /> </Style> </Style.Resources> </Style> </Style.Resources> </Style> </Grid.Resources> <telerik:RadGanttView Margin="0" Name="radGanttView1" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Background="LightGray"> <telerik:RadGanttView.Columns> <telerik:TreeColumnDefinition ColumnWidth="175" Header="Title" MemberBinding="{Binding Title}" /> </telerik:RadGanttView.Columns> </telerik:RadGanttView></Grid>Example : We have one customer booking one more room.
public class SortingAllowed : INotifyPropertyChanged{ public SortingAllowed() { this.allowSorting = false; } private bool allowSorting_; public bool allowSorting { get { return this.allowSorting_; } set { this.allowSorting_ = value; OnPropertyChanged("allowSorting"); } } public event PropertyChangedEventHandler PropertyChanged; private void OnPropertyChanged(string propertyName) { if (PropertyChanged != null) PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); }}<Grid> <Grid.RowDefinitions> <RowDefinition Height="auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Grid.Resources> <local:SortingAllowed x:Key="sortingAllowed" /> <Style TargetType="telerik:GridViewRow" x:Key="DraggedRowStyle" BasedOn="{StaticResource GridViewRowStyle}"> <Setter Property="telerik:DragDropManager.AllowDrag" Value="True" /> </Style> </Grid.Resources> <StackPanel Grid.Row="0" Orientation="Horizontal"> <CheckBox IsChecked="{Binding Source={StaticResource sortingAllowed}, Path=allowSorting}">Allow sorting</CheckBox> </StackPanel> <telerik:RadGridView Grid.Row="1" x:Name="RadGridView1" GroupRenderMode="Flat" ShowGroupPanel="False" CanUserResizeRows="True" ItemsSource="{Binding Customers}" RowStyle="{StaticResource DraggedRowStyle}" AllowDrop="True" CanUserSortColumns="False" local:RowReorderBehavior.IsEnabled="{Binding Source={StaticResource sortingAllowed}, Path=allowSorting}" telerik:ScrollingSettingsBehavior.IsEnabled="True" telerik:ScrollingSettingsBehavior.ScrollAreaPadding="30" telerik:ScrollingSettingsBehavior.ScrollStep="24" telerik:ScrollingSettingsBehavior.ScrollStepTime="00:00:00.05">