Telerik Forums
UI for WPF Forum
3 answers
129 views

When I call LoadLayout to reload my saved layout, my windows close and reopen.
It works, but I'd rather they just jump (or animate) to the loaded positions.

Is there a way to accomplish this?

Thank you
Buzz

Dilyan Traykov
Telerik team
 answered on 10 Oct 2019
5 answers
1.8K+ views
Hi! Is it possible to set picture (bitmap icon) to surface of RadButton or to surface of RadRadioButton so that this picture would occupy the entire surface of RadButton or RadRadioButton? And what format (GIF, JPJ, PNG, e.t.c) must have bitmap icon for its placing on RadButton' surface or RadRadioButton' surface?
Ras Ran
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 10 Oct 2019
4 answers
285 views
Hi everyone,

I am developing a WPF application in which I use RadControls including RadDocking.

Is an event raised when the user has finished resizing a RadSplitContainer ?
I do not want to handle an event raised several times during resizing.

Is an event raised when the user has finished moving a splitter ?
I do not want to handle an event raised several times during moving.

Thank you in advance for your answers
Vladimir Stoyanov
Telerik team
 answered on 09 Oct 2019
1 answer
208 views
Hi,

I want to get an event before resizing of Raddocking panes.
We have SizeChanged event but there is not PreviewSizeChanged event. Is there a way to achieve preview of resizing?

Thanks,
Tayyaba Naz
Vladimir Stoyanov
Telerik team
 answered on 09 Oct 2019
9 answers
1.2K+ views

Hello, I'm trying to unselect selected item in ListBox, but I have no success yet ( UI ListBox still selected).
I am trying in this way:
private void OnStandarBoxSelectionChanged(object sender, SelectionChangedEventArgs e)
{
 
    if (StandardBox.SelectedItem == null) return;
 
    ...
 
    StandardBox.SelectedItem = null;
}

Could you explain What better way to solve this problem?
Thank You.

Dimitar Dinev
Telerik team
 answered on 09 Oct 2019
4 answers
591 views

Hi,

I have an Telerik WPF app built recently for .Net Framework 4.7.2. The app is lightning fast and I couldn't be happier with performance.

However, I just successfully converted it to .NET Core 3.0, and while the app functions properly with no compile or runtime errors, its performance is dreadful. For example, launching the .exe takes 1.5 seconds for the .Net Framework version, but 21 seconds for the .Net Core version. A simple database query takes .01 seconds (i.e. to both retrieve the data and refresh the interface) in Framework, but 6 seconds in .Net Core.

I'll investigate and identify the components causing the problem, but do you have any opening thoughts that might point me in the right direction?

Wayne

 

Martin Ivanov
Telerik team
 answered on 09 Oct 2019
7 answers
166 views
The Telerik build 2019.3.917 was built using .NET Core 3.0-rc1.  Are you planning to release a new 2019.3 release that is complied against the .NET Core 3.0 Release build?  Is it even necessary, or will the Telerik WPF Core assemblies references work for the newer .NET version?
Martin Ivanov
Telerik team
 answered on 09 Oct 2019
2 answers
215 views

Hello together,

I use a RadPanelBar to display a List of Dates in a range grouped by week (to better understand I added a picture). If I click a day I want to load right beside it a Datatable into a RadGridView based on the date I selected.

I managed to bind the RadPanelBar to my ViewModel:

<telerik:RadPanelBar
    Grid.Column="0"
    x:Name="rpbKWs"
    ExpandMode="Multiple"
    ItemsSource="{Binding WochenAnzeige}"
    SelectedItem="{Binding selTag, Mode=TwoWay}"
    >
    <telerik:RadPanelBar.ItemTemplate>
        <HierarchicalDataTemplate
            ItemsSource="{Binding TageAnzeige}"
            >
            <HierarchicalDataTemplate.ItemTemplate>
                <DataTemplate>
                    <StackPanel>
                        <TextBlock
                            FontWeight="Medium"
                            Text="{Binding Path=Datum, StringFormat={}{0:dd.MM.yyyy}}"
                            />
                        <TextBlock
                            Margin="0 5 0 0"
                            FontSize="{StaticResource Caption}"
                            Text="{Binding Path=Einträge, StringFormat={}Einträge: {0}}"
                            />
                        <TextBlock
                            Margin="0 2 0 0"
                            FontSize="{StaticResource Caption}"
                            Text="{Binding Path=EinträgeImWerk, StringFormat={}davon im Werk: {0}}"
                            />
                        <TextBlock
                            Margin="0 2 0 0"
                            FontSize="{StaticResource Caption}"
                            Text="{Binding Path=EinträgeMontageEingeteilt, StringFormat={}davon in Montage: {0}}"
                            />
                    </StackPanel>
                </DataTemplate>
            </HierarchicalDataTemplate.ItemTemplate>
            <StackPanel>
                <TextBlock
                    FontWeight="Medium"
                    >
                    <TextBlock.Text>
                        <MultiBinding
                            StringFormat="{}KW {0} Jahr {1}"
                            >
                            <Binding
                                Path="KW"
                                />
                            <Binding
                                Path="Jahr"
                                />
                        </MultiBinding>
                    </TextBlock.Text>
                </TextBlock>
                <TextBlock
                    FontSize="{StaticResource Caption}"
                    >
                    <TextBlock.Text>
                        <MultiBinding
                            StringFormat="{}{0:dd.MM.yy} - {1:dd.MM.yy}"
                            >
                            <Binding
                                Path="MinDatum"
                                />
                            <Binding
                                Path="MaxDatum"
                                />
                        </MultiBinding>
                    </TextBlock.Text>
                </TextBlock>
                <TextBlock
                    Margin="0 5 0 0"
                    FontSize="{StaticResource Caption}"
                    Text="{Binding Path=Einträge, StringFormat={}Einträge: {0}}"
                    />
                <TextBlock
                    Margin="0 2 0 0"
                    FontSize="{StaticResource Caption}"
                    Text="{Binding Path=EinträgeImWerk, StringFormat={}davon im Werk: {0}}"
                    />
                <TextBlock
                    Margin="0 2 0 0"
                    FontSize="{StaticResource Caption}"
                    Text="{Binding Path=EinträgeMontageEingeteilt, StringFormat={}davon in Montage: {0}}"
                    />
            </StackPanel>
        </HierarchicalDataTemplate>
    </telerik:RadPanelBar.ItemTemplate>
</telerik:RadPanelBar>

But have problems with the SelectedItem. The days and weeks are different classes, because they contain different properties for example the week contains a List of days.
If I bind the SelectedItem to the 'selTag' and set a selTag in code nothing happens.

If I change the Selection in UI the property is updated, so this part works.
But if I select a week in UI my whole RadPanelBar gets a red border I don't understand where it comes from. Maybe because a week is a different class then a day and cant be updated because of that?

Is there a way to bind the SelectedItem poperty of a hierarchical RadPanelBar for the parent and chield levels seperately? Or some compleetely different solution?

I have uploaded my project here: https://www.dropbox.com/s/dxbaignaf8rxcx7/ReklamationsManagement.zip?dl=0

It will definitely not run because a sql connection and has some things in it I not longer use, but maybe you better understand my classes there.

Greetings

Benedikt

Benedikt
Top achievements
Rank 4
Iron
Iron
Iron
 answered on 08 Oct 2019
1 answer
243 views

Hi,

I would like to customise the default [+] button on my row details column, put another icon and adjust the size and colour.

How do I go about it?

Thank you so much!

Dimitar Dinev
Telerik team
 answered on 08 Oct 2019
5 answers
147 views

I'm using a custom data provider, and testing suggests that some override methods are being called excessively.

The test data consists of 1 data row divided into 3 columns.

If I don't handle any events, OnHeaderValueNeeded  gets called 3 times, as expected.

If I handle the CellDecorationsNeeded event, that event will be called 6 times for the same data, but OnHeaderValueNeeded is unaffected.

However, if I call FitColumnWidthToContent in the Loaded event, CellDecorationsNeeded will be called 18 times and OnHeaderValueNeeded will be called 9 times.

Calls to OnCellValueNeeded also increase from 3 to 9 when FitColumnWidthToContent is utilized.

Now perhaps I'm doing something wrong or I simply misunderstand, but of far greater concern is my override of ItemProperties, which gets called 18 times without calling FitColumnWidthToContent, and, rather oddly, 40 times when I do call FitColumnWidthToContent. This is of concern because I have some iterative code in the ItemProperties override.

Thoughts?

Wayne

 

 

Dilyan Traykov
Telerik team
 answered on 08 Oct 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?