Greetings,
we're using the RadDropDownButton in order to create menus. Our DropDownContent contains a menu with custom layout. However, customizing the drop down content itself doesn't seem possible.
DropDownContent has:
* A fixed background color (Light gray) and cannot be set to transparent
* A fixed DropDownShadow that is cut off when we try to shift position by using PopupPlacementTarget.
We would like to modify the DropDownShadow effect a bit to match the UI and add a shape, having an arrow pointing upward, outside the bounds of the DropDownContent.
If the background and DropDownShadow were removeable, we could just implement these features within the content itself. Is there a way to achieve this, currently?
I have a problem trying to use another Telerik component (-> RadTimeBar) which leads to a not loading application with a lot of memory consumption. I am using NoXaml assemblies so I figured I have to add DataVisualization to the App.xaml ResourceDictionary in order to see the control (because it is "invisible" so far). As soon as I add Control.DataVisualization to the App.xaml ResourceDictionary the application is no longer starting properly. It tries to initialize the first visible "start page" called TuggersView.xaml which uses a Telerik RadGridView. However the View initialization call never returns and meanwhile the application uses above 4GB of RAM before I kill the process. Running in debug the application usually consumes around 400 to 500 MB when loaded completely.
Have you ever encountered this kind of behaviour?
App.xaml Ok:
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/System.Windows.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.Chart.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.Data.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.Diagrams.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.GridView.xaml" /
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.Input.xaml" />
App.xaml issue:
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/System.Windows.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.Chart.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.Data.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.DataVisualization.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.Diagrams.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.GridView.xaml" /
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.Input.xaml" />
Hi, I just downloaded the latest UI for WPF (2019.3.1023) NuGet packages. Obviously the Wpf.NetCore packages have dependencies to SharpDX (>= 2.5.0) and SharpDX.Direct3D9 (>= 2.5.0). These are packages compiled for .NET Framework and NOT compatible with .NET Core 3.x
Hey guys, do you test your packages before deployment? Can I use the controls in my project anyway, should I remove the SharpDX references?
Regards
Heiko
Hi,
What is the best practice to have a combination of a full line to a dotted line.
I would like to use it in data of last x weeks to a forecast of y weeks. I would like to have a dotted line for the forecast and a full line for the last weeks.
Thanks in advance!
Hey together,
I have a MapControl in my application in which I have different MapLayers with different MapItemsControls.
To a few of them I want to add ContextMenues if someone rightclicks. For example to create a route from Pushpin A to B, to add it to some existing things etc.
To make the second option easy, I want to add a RadCombobox to the ContextMenue and populate it with the data of an ObservableCollection that is part of the DataContext of the RadWindow.
The problem is, that the RadComboBox stays empty. If I add the RadComboBox directly without the ContextMenu it gets populated as it should.
Also if I put the ContextMenu directly into the MapLayer it populates, but I need the Source of the Pushpin as a Commandparameter later so I can trigger some things with the underlying element.
<
map:MapLayer
x:Name
=
"MapLayerAufträge"
>
<
map:MapItemsControl
ItemsSource
=
"{Binding AufträgeLocations}"
>
<
map:MapItemsControl.ItemTemplate
>
<
DataTemplate
>
<
map:Pushpin
Location
=
"{Binding Location}"
Visibility
=
"{Binding Path=IsVisible, Converter={StaticResource VisibleIfTrueConverter}}"
ToolTip
=
"{Binding Name}"
MouseLeftButtonDown
=
"MontageAufträgePushpin_MouseDown"
>
<
map:Pushpin.Background
>
<
SolidColorBrush
Color
=
"{Binding MontageEinteilung, Converter={StaticResource AuftragMontageEingeteiltPinFarbeConverter}}"
Opacity
=
"0.8"
/>
</
map:Pushpin.Background
>
<
telerik:RadContextMenu.ContextMenu
>
<
telerik:RadContextMenu
x:Name
=
"rcmKarte"
>
<
telerik:RadMenuItem
Header
=
"Tour starten"
/>
<
telerik:RadMenuItem
Header
=
"Zu Tour hinzufĂĽgen"
>
<
telerik:RadComboBox
ItemsSource
=
"{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type telerik:RadWindow}}, Path=DataContext.Touren, Mode=OneWay}"
SelectedValuePath
=
"ID"
>
<
telerik:RadComboBox.ItemTemplate
>
<
DataTemplate
>
<
Grid
Margin
=
"0 3"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
TextBlock
Text
=
"{Binding Monteure}"
/>
<
TextBlock
Text
=
" KW: "
/>
<
TextBlock
Text
=
"{Binding KWsString}"
/>
<
TextBlock
Text
=
" ("
/>
<
TextBlock
Text
=
"{Binding DatumStart, StringFormat=d}"
/>
<
TextBlock
Text
=
"-"
/>
<
TextBlock
Text
=
"{Binding DatumEnde, StringFormat=d}"
/>
<
TextBlock
Text
=
")"
/>
</
StackPanel
>
</
Grid
>
</
DataTemplate
>
</
telerik:RadComboBox.ItemTemplate
>
</
telerik:RadComboBox
>
<
Button
Content
=
"Bestätigen"
Command
=
"{Binding PutInTourCommand}"
/>
</
telerik:RadMenuItem
>
</
telerik:RadContextMenu
>
</
telerik:RadContextMenu.ContextMenu
>
</
map:Pushpin
>
</
DataTemplate
>
</
map:MapItemsControl.ItemTemplate
>
</
map:MapItemsControl
>
<
map:MapItemsControl
ItemsSource
=
"{Binding SelectedAufträgeLocations}"
>
<
map:MapItemsControl.ItemTemplate
>
<
DataTemplate
>
<
map:Pushpin
Location
=
"{Binding LagerLocation.Location}"
ToolTip
=
"{Binding Name}"
Template
=
"{StaticResource LagerPushpinTemplate}"
PositionOrigin
=
"0.45, 0.45"
>
<
map:Pushpin.Background
>
<
SolidColorBrush
Color
=
"#EF6C00"
/>
</
map:Pushpin.Background
>
</
map:Pushpin
>
</
DataTemplate
>
</
map:MapItemsControl.ItemTemplate
>
</
map:MapItemsControl
>
<
map:MapItemsControl
ItemsSource
=
"{Binding SelectedAufträgeLocations}"
>
<
map:MapItemsControl.ItemTemplate
>
<
DataTemplate
>
<
map:Pushpin
Location
=
"{Binding Location}"
ToolTip
=
"{Binding Name}"
>
<
map:Pushpin.Background
>
<
SolidColorBrush
Color
=
"#EF6C00"
Opacity
=
"0.8"
/>
</
map:Pushpin.Background
>
</
map:Pushpin
>
</
DataTemplate
>
</
map:MapItemsControl.ItemTemplate
>
</
map:MapItemsControl
>
</
map:MapLayer
>
Has anyone an idea how I can achieve this?
Greetings,
Benedikt
I have a rad Cartesian chart that updates live as data comes in, I have the render options set to Direct2D and seperate. I have tried bitmap/batch also and it seems to not make a difference.
The problem is When the collection of data starts to reach around 20,000 datapoints the UI will completely freeze up although the code is still executing.
I have a requirement to update live data up to 300,000 data points at a rate of 50HZ. Is this possible with your tools?
WPF RadGrid copy multiple cell (non continuous ones like first and third). The second one is copied as empty. How to avoid this? Is there a property for setting this? The CellClipboardContent event is only fired twice though.
Hi,
I've a RadComboBox inside the RadGridView. When loading the tab very first time data inside the combobox is not displaying.
We have data in selectedvalue and in itemsource collection, but it is not displaying. Combobox is in editable mode.
<telerik:RadComboBox x:Name="ComboBox" Tag="{Binding SeqNo,UpdateSourceTrigger=PropertyChanged}" Style="{StaticResource TextSearchStyle}"
ItemsSource="{Binding DataContext.List, Mode=TwoWay, RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}}"
SelectedValue="{Binding Code, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" SelectedValuePath="Code" IsEditable="True" ItemTemplate="{StaticResource ComboBoxItem}" ItemContainerStyle="{StaticResource ComboBoxItemStyle}"
CanKeyboardNavigationSelectItems="True" TextSearchMode="Contains" IsFilteringEnabled="True" OpenDropDownOnFocus="False" GotFocus="ComboBox_GotFocus" LostFocus="ComboBox_LostFocus" DropDownClosed="ComboBox_DropDownClosed" GotKeyboardFocus="ComboBox_GotKeyboardFocus"
IsTextSearchEnabled="True" KeyDown="ComboBox_KeyDown" PreviewKeyDown="ComboBox_KeyUp" CanAutocompleteSelectItems="False" TabIndex="7" >
<telerik:RadComboBox.ToolTip>
<StackPanel Height="Auto" Width="Auto" MaxWidth="300" Background="#F2F2F2">
<TextBlock Text="{Binding ShortDescription}" Style="{StaticResource ToolTipCodesDescriptionTextBlock}"/>
</StackPanel>
</telerik:RadComboBox.ToolTip>
<i:Interaction.Triggers>
<i:EventTrigger EventName="GotFocus">
<i:InvokeCommandAction Command="{Binding DataContext.LoadPopUpCommand, RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}}" CommandParameter="{Binding DataContext, ElementName=ComboBox}" />
</i:EventTrigger>
<i:EventTrigger EventName="DropDownClosed">
<i:InvokeCommandAction Command="{Binding DataContext.CPTSelectionChanged, RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}}"
CommandParameter="{Binding DataContext, ElementName=CPTComboBox}"/>
</i:EventTrigger>
<i:EventTrigger EventName="LostFocus">
<i:InvokeCommandAction Command="{Binding DataContext.ComboLostFocusCommand, RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}}" CommandParameter="{Binding DataContext, ElementName=ComboBox}" />
</i:EventTrigger>
</i:Interaction.Triggers>
</telerik:RadComboBox>
Regards,
Mahesh
Hi,
I have binded custom object collection to the RaCombobox selecting an item and saving is working fine but displaying the item again once we close and open the application is not working.
<telerik:RadComboBox Name="AppContextNames" Width="150" Height="25" SelectedItem="{Binding AppContext,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" ItemsSource="{Binding Path=DataContext.SharedActionVM.AppContextCollection,RelativeSource={RelativeSource AncestorType={x:Type telerik:RadTreeListView}}}" DisplayMemberPath="Name" />
Here while setting it is working fine but again if go to that combobox even the AppContext object contains value it is showing empty combo value but combocollection is present.
Is there something I have to do from my side??
Regards,
Nagasree.
I'm currenting working on an existing project where there the creator had UserControl Xamls, the controls are in ViewModel folder where usercontrol.ViewModel.cs has the control and executable.
I'm trying not to break the code, learn how to use MVVM/WPF formatting.
I have added a button to the UserControl.Xaml now I'm not clear on get the button control to work so it can export both selected gridview item or the whole gridview. I have found several forum articles but they do not met my WPF format:
<telerik:RadButton x:Name="btnExport"
Grid.Row="0"
Content="Export to Excel"
Command="{Binding Export2ExcelCommand}"
Width="100"
Margin="4" />
But now I need a good sample that show how I should add the "Export2ExcelCommand" button control to the "ucViewModel.cs" file.
Again the goal is to support both whole gridview export or selected items in gridview to Excel.
Help is appreciated.