Telerik Forums
UI for WPF Forum
1 answer
98 views

Hi,

Is there a way to use a custom control inside the cells of a given column ?

At least some bitmaps ?

 

The feature request was "approved" since 2017 but still no news about that.

Martin Ivanov
Telerik team
 answered on 11 Dec 2019
2 answers
1.0K+ views

Hello

how can i add columns and rows and cells just by code-behind without use binding

(i need to do this in loop)

and i use telerik 2019 noxaml

Thanks ♥

 

 

Vladimir Stoyanov
Telerik team
 answered on 11 Dec 2019
1 answer
219 views

I'm attempting to use Pinned Rows functionality in a WPF RadGridView. As soon as I pin a row, the vertical scrollbar goes away if set to Auto and shows a scroll bar that is not needed and disabled when set to Visible (as though the only rows that exist in the grid are visible in the grid). If I unpin all pinned rows, the vertical scrollbar behaves properly and allows me to see the additional rows.

 

I have set PinnedRowsPosition="Top" and GroupRenderMode="Flat" in the xaml file.

 

Thanks.

Vladimir Stoyanov
Telerik team
 answered on 11 Dec 2019
11 answers
393 views
Hello,

In the documentation it shows setting the VirtualizatonMode of the TreeViewPanel with an attached property:

<
telerik:RadTreeView x:Name="radTreeView" telerikTreeView:TreeViewPanel.IsVirtualizing="True" telerikTreeView:TreeViewPanel.VirtualizationMode="Hierarchical">

However VS is giving me the error that the attached property is read only.

Has this method changed, or am I maybe doing something else incorrectly?

Thanks,

Andrew


Dinko | Tech Support Engineer
Telerik team
 answered on 11 Dec 2019
3 answers
133 views

Hi,

I have install the trial release 2015.1 401 for testing.

I have create a spreadsheet with 130 sheet, but then save the Book1.xlsx from File->Save option i retrive an ok message with this error: System.OutOfMemoryException and the file it's not saved

With 20 sheets it's work OK.

My question is: Is there a limit of sheets?

Thanks

Aurelio

 

 

 

Dimitar
Telerik team
 answered on 11 Dec 2019
3 answers
227 views

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?

Dilyan Traykov
Telerik team
 answered on 10 Dec 2019
2 answers
109 views

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" />

Vladimir Stoyanov
Telerik team
 answered on 10 Dec 2019
3 answers
443 views

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

Heiko
Top achievements
Rank 1
Iron
Veteran
 answered on 09 Dec 2019
3 answers
247 views

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!

Martin Ivanov
Telerik team
 answered on 06 Dec 2019
1 answer
274 views

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

Vladimir Stoyanov
Telerik team
 answered on 06 Dec 2019
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?