Telerik Forums
UI for WPF Forum
6 answers
448 views
I wanting to utilize the PropertyGrid in a application. I have a requirement to support multiple languages. What is the best approach to localize the strings displayed to the user? I am referring the Property Names, and Property Descriptions. I would also like to categorize properties and would like the categories translated.

I have tried an approach I found on CodeProject, but it is designed for WinForms and not WPF. It uses a GlobalPropertyDescriptor which is derived from PropertyDescriptor. This class overrides the Name, DisplayName, and Description properties to retrieve localized strings from string tables. The problem to the approach is the getters for the DisplayName and Description properties are never accessed. The Name property is accessed.

Each class displayed in a PropertyGrid inherits from a common base class that implements an ICustomTypeDescriptor. Most of the what happens here is in the GetProperties functions.

Bottom line is this approach is not working for the WPF version of the PropertyGrid and I am looking for some guidance.
Any assistance is greatly appreciated.
Dimitrina
Telerik team
 answered on 15 Apr 2014
1 answer
747 views
I was hoping of obtaining the GridViewRow object of the newly added Item (or GridViewRow) by code. The Telerik GridView's ItemSource is bound to Customers ObservableCollection holding Customer object. On the constructor of the window, I populate the Customers collection with 10 items. This shows up fine on the grid. When I click on the button to add 5  more customers, I can see them been added on the grid, however when I try to access the 11th row using grid.ItemContainerGenerator.ContainerFromIndex(10), it returns null.
Is there a different way of obtaining the newly added row's index.
Boris
Telerik team
 answered on 15 Apr 2014
1 answer
131 views
Hi,

with version 2013.3.1204.40 of Telerik. I implemented a CustomDragDropBehavior and in the override method CanDrop, if I do the following :

Slot mouseOverSlot = (state.ServiceProvider.GetService<IDialogProvider>() as RadScheduleView).MouseOverSlot;

mouseOverSlot is always null

Thank's
Alain
Konstantina
Telerik team
 answered on 15 Apr 2014
1 answer
113 views
Hello !
I Want to synchronize a RadChart in a RadTimeBar with a WeekInterval.
If i Set the Windows Size i can synchronize the size with the Margin set to "-7,0,72,0" (see Picture 1).
If i Maximize the Windows it is not synchronized (see Picture 2).
Sourcecode is in TelerikTimeBarTest.png (Rename to zip).

What is the best way to synchronize the size ?

Thank for Help !

Thilo
​
Thilo
Top achievements
Rank 1
Iron
 answered on 15 Apr 2014
3 answers
301 views
Hi,

I'd like to make a simple bar chart like the image I've attached.  It's really very basic bar chart (not sure Telerik's name for this sort of chart) with a single series.  Each of the bars should be labeled with it's value.

Please point me to any examples or snippets that would help me create it.  I prefer to do as much of it using MVVM as possible.


Thanks!
Petar Marchev
Telerik team
 answered on 15 Apr 2014
1 answer
93 views
Hi,

Can anyone help me installing the trial version of telerik for wpf

Thanks,
Manmohan
Yana
Telerik team
 answered on 15 Apr 2014
7 answers
164 views
Hi,

I create a control using a RadScheduleView and a weekview definition. People using my control pass me a collection of not readonly slot and I want to set the rest of the view as readonly. I want to know if there is a mechanism for doing this in the control.

Thank's
Alain
Kalin
Telerik team
 answered on 15 Apr 2014
2 answers
152 views
Hi,

I created a UserControl based on a ScheduleView. My UserControl offer an OnCanDrop event so I implemented a DragDropCustomBehavior to reach my goal. In the CanDrop override method of my DragDropBehavior, I don't want to raise my event when I'm over the appointment I'm dragging...

Thank's
Alain
Kalin
Telerik team
 answered on 14 Apr 2014
1 answer
83 views
http://www.telerik.com/help/wpf/gridview-managing-data-validation.html

Hello, I would like to achieve the red validation pop-out message as shown in the 2nd picture from the link above. All my other codes are working, except for red pop-out message. Is there anything I'm overlooking? Below are my codes:

​
private void GridCommsEqp_OnCellValidating(object sender, GridViewCellValidatingEventArgs e)
        {
            switch (e.Cell.Column.UniqueName)
            {
                case "SSN":
                    if (e.NewValue.ToString().Length > 30)
                    {
                        e.IsValid = false;
                        e.ErrorMessage = string.Format("{0} must not be longer than 30 characters. " +
                                                       "Current length: {1}", e.Cell.Column.Header,
                                                       e.NewValue.ToString().Length);
                    }
                    break;
                case "OfficialDesc":
                case "CommonDesc":
        .
        .
        .
        }
Yoan
Telerik team
 answered on 14 Apr 2014
3 answers
74 views
I have a datepicker in a grid column, and when the cell changes, it does not call my grid event "OnRowEditEndedCommandCommandExecuted". How do I make this happen? Thanks.


          <telerik:GridViewDataColumn  Header="Date Filled" Width="100" >
                    <telerik:GridViewColumn.CellTemplate>
                        <DataTemplate>
                            <telerik:RadDatePicker SelectedValue="{Binding DateFilled, Mode=TwoWay}"/>
                        </DataTemplate>
                    </telerik:GridViewColumn.CellTemplate>
                </telerik:GridViewDataColumn>
Boris
Telerik team
 answered on 14 Apr 2014
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
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?