Telerik Forums
UI for WPF Forum
2 answers
227 views

Hi,

I use the RadRibbonWindow control. 

Is there a way to unify the theme of that control with the rest of the application. Actually, the control uses the system theme. The result vary from a system to another. Here are two screenshot, one from a windows 7 machine, another one from a windows server 2008 R2 machine.

Is it possible to "Metro-ize" the control ?

Emmanuel
Top achievements
Rank 1
 answered on 22 Mar 2017
2 answers
139 views

Hi,

I have a custom control which inherits from Radgridview. For few columns (GridViewDataColumn), I have set IsResizable to false. However, when i reorder this column I am still able to resize it. Any ideas what might be the issue? 

When i set IsResizable to false what does it exactly do?

Naved
Top achievements
Rank 1
 answered on 22 Mar 2017
3 answers
250 views

Good afternoon. Not working AutoFit(). After loading the diagram, should be AutoFit, but the screen always goes in the center of the diagram. I have tried the following combinations:

1)    like in this post  http://www.telerik.com/forums/autofit-to-fill-whole-space-of-the-host-window

this.diagram.AutoFit(new Thickness(5), true); 

it didn't help and I tried:

2)      Rect allShapesBounds = this.diagram.Shapes.GetEnclosingBounds();
            Rect inflatedRect = allShapesBounds.InflateRect(10, 10, 10, 10);
            this.diagram.FitTo(inflatedRect);

and it did not help too and I tried so:

3)         Rect allShapesBounds = this.diagram.Shapes.GetEnclosingBounds();
            Rect inflatedRect = allShapesBounds.InflateRect(10, 10, 10, 10);                                                                                                                                    this.diagram.BringIntoView(inflatedRect);

 

Svyatoslav
Top achievements
Rank 1
 answered on 22 Mar 2017
1 answer
150 views

Hi,

 

we are currently having problems with premature execution of CanExecute (System.Windows.Input.ICommand.CanExecute(object)) on our custom asynchronous ICommand implementation. Unfortunately, we cannot base our asynchronous ICommand on your DelegateCommand (Telerik.Windows.Controls.DelegateCommand). Our research has shown that this problem (and other problems like memory leaks) can be solved by using a WeakEventHandlerManager implementation. Frameworks like Prism are implementing such a WeakEventHandlerManager.

In general, we would like to keep our dependencies in our projects as low as possible, hence avoid referencing Prism or other libraries implementing a WeakEventHandlerManager. We have found in several forum posts (see below), that UI for WPF is implementing the internal static class WeakEventHandlerManager (Telerik.Windows.Controls.WeakEventHandlerManager), but is inaccessible to us due to its protection level.

http://www.telerik.com/forums/custom-appointment-validation#31FR5-6S9UGnhsD0Fcbzyw

http://www.telerik.com/forums/radmediaplayer-system-nullreferenceexception-object-reference-not-set-to-an-instance-of-an-object#3aeiMSrBEEGTu9wz1x4Wcw

http://www.telerik.com/forums/getfirstpartofoccurrenceswithnoenddates-leads-to-argumentoutofrangeexception-when-adding-no-end-date-recurring-appt-at-daystarttime-in-dayview#ERl6dJHd20yu02FAW4VkXw

http://www.telerik.com/forums/random-com-exception#RAVYUzxVokKq-46Gm1Q9qA

 

 

I am asking you to change the visibility of your WeakEventHandlerManager to public, so we can benefit from it without introducing an additional dependency in our projects just for the sake of this one helper class.

Please see the associated Feature Request: https://feedback.telerik.com/Project/143/Feedback/Details/213908-make-weakeventhandlermanager-public

 

Best Regards

Ivan Ivanov
Telerik team
 answered on 22 Mar 2017
1 answer
234 views

Hello,

I know this is an approved feature already. but no schedule of release yet.

Is there an alternative way at the moment in order to do this.?

I really need to use .xlsb

Regards,

John

Lance | Senior Manager Technical Support
Telerik team
 answered on 21 Mar 2017
5 answers
220 views

I am using this template:

<Style TargetType="telerik:TrackBallInfoControl">
    <Setter Property="Background" Value="White"/>
    <Setter Property="Foreground" Value="#FF103766"/>
    <Setter Property="BorderBrush" Value="Transparent"/>
</Style>

 

And i am wonder how to reach other properties for example Pillar and the Dot color ?

Lance | Senior Manager Technical Support
Telerik team
 answered on 21 Mar 2017
2 answers
229 views

We are beginning to use Telerik WPF UI for a Windows Forms application.  We have a RadGridView bound to a RadEntityFrameworkDataSource which gets
data from the database using Entity Framework.  The data for the grid come from a View in the database.  The data appears fine initially but 
we change data in the tables programmatically.  How do we force the datagrid to retrieve the latest changes from the database? 

Thanks
Sathya
Uwe
Top achievements
Rank 1
 answered on 21 Mar 2017
1 answer
265 views

Hello,

I want to achieve this : (see attached file for mockup)

           GR01      GR02      GR03     ... ... ...
ErgoLimit1 |    1    |    3    |    5    |
ErgoLimit2 |    3    |    2    |    1    |

 

This is basically a grid with row headers.

My ItemsSource is an ObservableCollection of :

1.public class MyDataSourceLine
2.{
3.    public string GroupName { get; set; }
4.    public int ErgoLimit1Value { get; set; }
5.    public int ErgoLimit2Value { get; set; }
6.}

 

I tried using RadGridView but does not look like a good fit  as there are no way (correct me if i'm wrong) to set row headers.

Cells must be editable (at least for the rows ErgoLimit1 and ErgoLimit2)

Columns are not fixed : every MyDataSourceLine should add a column.

Appreciate help on this as I spent already a lot of time trying to figure out how do to this, in vain :(

If it's not possible with RadGridView, i can change to another telerik control.

Thanks in advance !

Dilyan Traykov
Telerik team
 answered on 21 Mar 2017
1 answer
194 views

How to keep the appointment creation dialog box open when validating the entries. So if I leave the subject (or start, end time) blank, I will like to show a message box and KEEP THE APPOINTMENT DIALOG OPEN.

 

All the events I have created on radschedulerview, fire after the appointment dialog closes.

 

Events like  

radScheduler1_AppointmentCreating

radScheduler1_AppointmentSaving

    'radScheduler1_AppointmentCreated', 

 

all fire AFTER the dialog closes. I need to not close the appointment dialog when the subject etc are left blank.

 

Thanks

 

Help!

 

Robin

Yana
Telerik team
 answered on 21 Mar 2017
1 answer
153 views

Hi - I'm looking for the source code/project for 'ChartView Live Data' - see attached pic. I can run the code in the 'UI for WPF' tool but I cannot find the same example in the xaml-sdk. It is available in the Windows version but not the WPF version.

The UI for WPF shows the code files but when trying to create a project I'm getting many errors because of the 'QuickStart' code... Does anyone have the VS project code for this or know where I can download it? ty much

Dinko | Tech Support Engineer
Telerik team
 answered on 21 Mar 2017
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?