Telerik Forums
UI for WPF Forum
1 answer
193 views
Is there a way to programmatically ensure columns in a worksheet have widths set for their widest cell?
Dimitar
Telerik team
 answered on 03 Apr 2020
1 answer
156 views

I was wondering how the Treeview actually extracts the icons from the icon file?  Probably me geeting too old LOL!!.  Is it using pixel positions?

 

What I was trying to do is modify the Treeview so that links to files are embedded correctly (i.e. one level in from the parent.).  It seemed easy to just make it a new level (that works!!).  But then I would need to use an alternate set of icons.  For example, replace the folder icon with a "- " graphic and then set the other two graphics to blanks.

 

But perhaps their is a better approach.  (see attached screenshot)

 

BTW … just in case I can convince my boss of really doing something using this … are you available for a small project?

 

 

 

Chris
Top achievements
Rank 1
 answered on 02 Apr 2020
2 answers
289 views
I'm using a RadGridView with xaml and vb. One of the columns in the grid is a textbox. This same grid is used for both creating data and for viewing it later. The user can easily enter text in the textbox and the vertical scrollbar works fine. If the user is later just viewing this gridview, the textbox is readonly. The textbox has a vertical scrollbar, but the scrollbar doesn't work. Is this expected behavior with the textbox is readonly?
Kathy
Top achievements
Rank 1
Veteran
 answered on 02 Apr 2020
3 answers
172 views

Hi,

I need to retrieve the recurrence pattern and set it to our custom object. I tried various methods. In all these cases, I am not able to retrieve DaysOfWeekMask which holds values like "Sunday" or "Monday|Tuesday|Wednesday" and cast it to our custom object DaysOfWeek which is also an enum.

1st Method

a) RecurrenceDays days = new RecurrenceDays();
days = days.AddDay(CurrentCreatedAppointment.RecurrenceRule.Pattern.DaysOfWeekMask);
var s = days.GetDaysOfWeek().Select(x => (DaysOfWeek)Enum.Parse(typeof(DaysOfWeek), x.ToString())).AsEnumerable();
viewModel.BackupArchiveSettings.ByDay = new ObservableCollection<DaysOfWeek>( s);
var k = s.GetEnumerator();

var k1 = k.Current;

 

2nd Method

 RecurrenceDays days = new RecurrenceDays();
days = days.AddDay(CurrentCreatedAppointment.RecurrenceRule.Pattern.DaysOfWeekMask);
var s = days.GetDaysOfWeek().Select(x => (DaysOfWeek)Enum.Parse(typeof(DaysOfWeek), x.ToString())).AsEnumerable();

newcol = new ObservableCollection<DaysOfWeek>();
foreach (var item in s.ToList())
{
 viewModel.BackupArchiveSettings.ByDay.Add(item);
}

 

Please help

 

Thanks,

Divya

Martin Ivanov
Telerik team
 answered on 01 Apr 2020
1 answer
103 views
Good day.

We have a problem with the RowEditEndedCommand event.

We have a GridView with GridViewCheckBoxColumn. Also there is a checkbox in the header of this column, which allows you to check/uncheck all checkboxes.

Usually everything works fine:
1. Edit the row.
2. Click to another control (for example, click on the button or select another tab).
3. The RowEditEndedCommand event was called.

But if we add an action with a checkbox in the header to the order of actions:
1. Edit the row.
2. Click on the checkbox in the grid header.
3. Click to another control.
4. The RowEditEndedCommand event was NOT called.

We need to always call this event, but we don’t know why it doesn’t work in this case.


I am attaching a small example. Use the button to change focus and get RowEditEnded event.
https://drive.google.com/file/d/1PlAq5s2uv905-wldi7jD1r8JZx28YUwO/view?usp=sharing
Dinko | Tech Support Engineer
Telerik team
 answered on 01 Apr 2020
5 answers
153 views

The Situation when I will drop and add a shape. before added shape drawing on the diagram, I want to execute Diagram.Align() method with all shapes.

In Detail, I will drop and add ContainerShape into another ContainerShape.

Another ContainerShape has a child, a shape.

After Dropped and Added, I try to Align ContainerShape's Childrens when Other ContainerShape calls "OnItemsCollectionChanged"

 

but, if i try to Align with dropped shape. it occurs to Empty Rect Error. 

"Empty Rect cannot modify this property"

 

e.StackTrace "   location: System.Windows.Rect.set_X(Double value)\r\n   location: Telerik.Windows.Diagrams.Core.GraphController.AlignShape(IShape shape, Point oldPosition, Point alignedPosition, Alignment alignment)\r\n   location: Telerik.Windows.Diagrams.Core.GraphController.AlignShapes(Alignment alignment, IEnumerable`1 shapes)\r\n   location: CloudRPA.Views.Diagram.DiagramContainerShape.ReArrangedItem(Boolean isAdd)"

 

Dinko | Tech Support Engineer
Telerik team
 answered on 31 Mar 2020
2 answers
123 views
 Hello everyone,

i'm working with RadOpenFileDialog  in a WPF Desktop application with Fluent Theme, due to project needs i had to set the font size for the whole application a bit bigger with this code : 

                                                      FluentPalette.Palette.FontSizeS = 18;

                                                      FluentPalette.Palette.FontSize = 20;
                                                      FluentPalette.Palette.FontSizeL = 22;
                                                      FluentPalette.Palette.FontSizeXL = 24;

All work well but when i open a RadOpenFileDialog  window i have the line of address bar partially hided as showed in the screenshot in attachment.

What could be the cause of the problem ?

Thanks in advance.
Edgardo
Top achievements
Rank 1
 answered on 31 Mar 2020
1 answer
272 views

Hi guys,

 

I'm trying to capture the print event of a RadPDFViewer to not only print the PDF but also save it to a predifined location everytime it is printed.

Ithought about the Click event in the toolbar, but I also need to capture it if printed from contextmenu.

 

I have read something about inherit the print command, but I haven't gotten how to do that.

 

Greetings,

Benedikt

Dimitar
Telerik team
 answered on 30 Mar 2020
2 answers
114 views

Hi,

 

i need to save the content of the radrichtextbox as an image, i didn't find any method to implement this.

 

 

thanks in advance.

Maximiliano
Top achievements
Rank 1
Veteran
 answered on 30 Mar 2020
6 answers
613 views
<telerik:RadComboBox IsEditable="True" IsTextSearchCaseSensitive="False" Text="{Binding SchoolEducation}" ItemsSource="{Binding SchoolEducations}" />

 

Hi,

since Release 2020.1.218 the TextProperty-Binding does not refresh my property in my ViewModel.

I also tried the current internal version.

Best regards,
Ronny Glass

Ronny
Top achievements
Rank 1
 answered on 29 Mar 2020
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?