I am using the following listbox to manage visibility and order of the columns in my grid view. It works great for visibility (of course). If I drag a column in the listbox it reorders the grid columns fine. But if I reorder the grid columns in the grid it does not update the listbox. I am willing to disable column ordering in the grid view (and only reorder columns using the listbox) if I have to but would prefer not. I assume I can disable column reorder in the gridview anyway, still looking into it...
Is there a trick I am missing to get the listbox to reorder when I update the column order from the gridview?
<telerik:RadListBox x:Name="ColumnSelector" Margin="3" ItemContainerStyle="{StaticResource DraggableListBoxItem}"
ItemsSource="{Binding Columns,ElementName=GOOSEGrid}">
<telerik:RadListBox.DragDropBehavior>
<telerik:ListBoxDragDropBehavior />
</telerik:RadListBox.DragDropBehavior>
<telerik:RadListBox.DragVisualProvider>
<telerik:ScreenshotDragVisualProvider />
</telerik:RadListBox.DragVisualProvider>
<telerik:RadListBox.ItemTemplate>
<DataTemplate>
<CheckBox Content="{Binding Header}" IsChecked="{Binding IsVisible}"/>
</DataTemplate>
</telerik:RadListBox.ItemTemplate>
</telerik:RadListBox>
Hi,
I have marker point that updates it's position periodically on the map. If i wanted to draw a traceline on the map to keep track of the path that the marker point has moved, what would be the best way of doing it without slowing down the rendering of the details on the map?
I have template:
<telerik:GridViewDataColumn.GroupFooterTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical" Margin="0,10">
<TextBlock Margin="0,0,0,2">
<Hyperlink Command="{Binding SellingCatalog.DailyTotalCommand, Source={StaticResource Locator}}" CommandParameter="{Binding Key}" >
Daily Total
</Hyperlink>
</TextBlock>
</StackPanel>
</DataTemplate>
</telerik:GridViewDataColumn.GroupFooterTemplate>
How can I send group key to CommandParameter
Like that: CommandParameter="{Binding Key}"
Hi,
For my map display, I am suppose to show a custom image that represents a 15m x 10m area from a geo point.
<
Window
x:Class
=
"telerikMapSample.MainWindow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
Title
=
"MainWindow"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
Height
=
"564.851"
Width
=
"805.313"
>
<
Grid
>
<
Grid
x:Name
=
"LayoutRoot"
Width
=
"784"
Height
=
"484"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"450"
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
telerik:RadMap
x:Name
=
"RadMap1"
Grid.Row
=
"0"
ZoomLevel
=
"24"
MinZoomLevel
=
"24"
MaxZoomLevel
=
"24"
Center
=
"1.352083, 103.819836"
NavigationVisibility
=
"Collapsed"
ZoomBarVisibility
=
"Collapsed"
CommandBarVisibility
=
"Collapsed"
MiniMapExpanderVisibility
=
"Collapsed"
MouseMove
=
"RadMap1_MouseMove"
>
<
telerik:RadMap.Provider
>
<
telerik:UriImageProvider
GeoBounds
=
"1.352083, 103.819836, 0.0001, 0.00015"
Uri
=
"/telerikMapSample;component/Resources/osm_12.png"
/>
</
telerik:RadMap.Provider
>
</
telerik:RadMap
>
<
Grid
x:Name
=
"Row2"
Grid.Row
=
"1"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
/>
<
ColumnDefinition
/>
<
ColumnDefinition
/>
<
ColumnDefinition
/>
</
Grid.ColumnDefinitions
>
<
Label
Grid.Column
=
"0"
FontSize
=
"20"
>Latitiude: </
Label
>
<
Label
Grid.Column
=
"2"
FontSize
=
"20"
>Longitude: </
Label
>
<
TextBlock
x:Name
=
"LatValue"
FontSize
=
"20"
Grid.Column
=
"1"
/>
<
TextBlock
x:Name
=
"LongValue"
FontSize
=
"20"
Grid.Column
=
"3"
/>
</
Grid
>
</
Grid
>
</
Grid
>
</
Window
>
The problem now that I am facing is that after measuring the latitude and longitude at each end of the boundary, I am getting
around 0.00004deg and 0.00007deg respectively instead of the 0.00001deg and 0.00015deg. How can I fix this accuracy problem?
I appreciate the technical support!
Hi,
We are rebuilding our application and using implicit styling with the Windows 8 theme. We have a custom font we'd like to use and wish to increase the font size of all controls (Telerik and the default .NET controls). I know we can use the following in code-behind to accomplish this:
Telerik.Windows.Controls.Windows8Palette.Palette.FontSizeXS += 6; Telerik.Windows.Controls.Windows8Palette.Palette.FontSizeS += 6; Telerik.Windows.Controls.Windows8Palette.Palette.FontSize += 6; Telerik.Windows.Controls.Windows8Palette.Palette.FontSizeL += 6; Telerik.Windows.Controls.Windows8Palette.Palette.FontSizeXL += 6; Telerik.Windows.Controls.Windows8Palette.Palette.FontSizeXXL += 6; Telerik.Windows.Controls.Windows8Palette.Palette.FontSizeXXXL += 6; Telerik.Windows.Controls.Windows8Palette.Palette.FontFamily =
new
FontFamily(
"CustomFontName"
);
But this obviously does not apply the font and font size during design-time, which makes it hard to design the UI because the size increases when the application is ran. Is there a way we can set the font and font size in XAML, like in a ResourceDictionary, so that the controls will accept the changes during design-time?
Thanks for the help,
Brian Moore
I want to put a self-erected web map server as a tiled source.
I want to get map through Http post map from WMS.
How do I implement Tiled MapSource to achieve my goal.
Any help, preferably with sample, is appreciated!
Standy
Upon merging latest code from our main development branch I realized that every edit-enabled RadComboBox on our application had vanished. We use the Windows 7 theme via implicit styles with UI for WPF 2015.3.1104.45. VS 2015's Live Visual Tree showed the controls and all simple combo boxes (no editing) worked as normal. I went back in time until I found the changeset that broke the code and found that the references had indeed changed but not in any way that seems like it should break anything. I compared loaded modules for the working code and the broken code and the exact same Telerik assembly dll's are loaded from the exact same location. As best I can tell ONLY combo boxes are not drawing. I keep thinking I am missing something really obvious here. Any ideas?
Thanks,
Nathan
Hello,
Anyone of you is using raddocking with catel successfully? Want to understand how do you restore view/viewmodels