Telerik Forums
UI for WPF Forum
0 answers
127 views
Hi Telerik Support,
     After viewing demos, I chose variant with Virtualization, because I need to add some properties dynamically (for example, GroupName). So I have Dictionary<string, object> with PropertyName and Value in ViewModel, which is  bound to RadPropertyGrid.Item. Please, advise how to do this using MVVM patern?

Regards,
Anatoliy

Anatoliy
Top achievements
Rank 2
 asked on 28 Aug 2013
1 answer
261 views
when i am double click on the my rad window top of header its when to resize model i need to stop this  i need Maximized window
here is my code

                    xmlns:navigation="clr-namespace:Telerik.Windows.Controls.Navigation;assembly=Telerik.Windows.Controls.Navigation"
                    navigation:RadWindowInteropHelper.AllowTransparency="False"
                   
                   
                   telerik:Theming.Theme="Vista" Header=""              
                   MinHeight="600" MinWidth="800"   Loaded="Main_Loaded" ResizeMode="NoResize"
                   CanClose="False" CanMove="False"  BorderThickness="1" WindowStartupLocation="CenterScreen"
                   IsRestricted="False" RestoreMinimizedLocation="False"
                   Style="{DynamicResource AppFontSize}" WindowState="Maximized" SizeToContent="False"
Kalin
Telerik team
 answered on 28 Aug 2013
3 answers
114 views
Hi,

I am creating a Silverlight project with the intent to be linked from WPF project as well. Here is the issue I am facing described in StackOverflow question 

<telerik:Tile TileType="Single" Width="Auto" Background="#FF559B55" Name="tile1" 
                                      FontWeight="Bold" FontFamily="Verdana">


                                <Button Content = {Binding Path=MyRVal} Click="btClick" Foreground="Black">
                                   </Button>         

</telerik:Tile>
This works fine in Silverlight project, but the button does not show in WPF. I noticed this only happens when there is Binding instead of static, does WPF not handle this?
I know this might not be Telerik issue, but I wanted to ask and maybe get suggestions of how to have a Button or other control (with Binding) within a Tile working both in Silverlight and WPF.

Thanks
Maya
Telerik team
 answered on 28 Aug 2013
3 answers
228 views
Hi,

My RadGridView doesn't refresh completely after scrolling through the columns, some of the cells still shows old cell values after scrolling. This happens if I scroll fast from left to right and right to left. My grid is UI virtualized. What's causing this issue?

Thanks,
Karthik
Vera
Telerik team
 answered on 28 Aug 2013
1 answer
257 views
Hi, 

i'm using the RadMaskedTextInput with NotifyOnValidationError and it works great. Currently it displays the message beside the textbox, but i need to show the error message below the textbox, how can i achieve this?
Pavel R. Pavlov
Telerik team
 answered on 27 Aug 2013
1 answer
128 views
Hi,

I am developing a application for a customer using telerik comoponents - so we tought we can use telerik GridView at the beginning it was ok but after i applied the windows8 theme the performnace is dead.

Here are a few hints which kills the performance:
* When the grid gets the FrameworkElement.Unloaded event it consumes too much time accessing hashCode
Please check the function "private void OnUnloaded(object sender, RoutedEventArgs e)" inside GridViewDataControl.cs line 202
The problem is that we have a nested loop where we iterate through a IDictionary<object, IEnumerable<IDisposable>> - please add the possibility to disable this behaviour (I see its only enabled when WPF is used) - i am good if the GC takes care of.

* Inside ClearIctdSubscriptions (GridViewDataControl) you call containskey on a map and than access it with a indexer this means we search twice - why do you guys do not use TryGetValue there?
And again stop calling dispose there on each element which consumes to much time if we want to switch fast between views

How to reproduce it
1) Telerik.Windows.Controls.StyleManager.ApplicationTheme = new Telerik.Windows.Controls.Windows8Theme();
2) Create a custom object and populate the grid with 10 items (yes thats enough to see the lag)


Nedyalko Nikolov
Telerik team
 answered on 27 Aug 2013
3 answers
395 views
Hi there,

I'm trying to assign resources to appointments in the code behind. When I assign them, the appointment displays the correct resource when I edit the appointment, however the appointment itself is displayed in the blank resource column.

Here is the XAML:
<telerik:RadScheduleView x:Name="ScheduleView" SnapAppointments="True">
    <telerik:RadScheduleView.ResourceTypesSource>
        <telerik:ResourceTypeCollection>
            <telerik:ResourceType DisplayName="Room" Name="Room">
                <telerik:Resource DisplayName="Room 1" ResourceName="Room 1" ResourceType="Room"/>
                <telerik:Resource DisplayName="Room 2" ResourceName="Room 2" ResourceType="Room"/>
            </telerik:ResourceType>
        </telerik:ResourceTypeCollection>               
    </telerik:RadScheduleView.ResourceTypesSource>
    <telerik:RadScheduleView.GroupDescriptionsSource>
        <telerik:GroupDescriptionCollection>
            <telerik:ResourceGroupDescription ResourceType="Room" ShowNullGroup="True"/>
        </telerik:GroupDescriptionCollection>
    </telerik:RadScheduleView.GroupDescriptionsSource>
    <telerik:RadScheduleView.ViewDefinitions>
        <telerik:DayViewDefinition DayStartTime="7:00" DayEndTime="19:00" MajorTickLength="1h" MinorTickLength="10min"/>
        <telerik:WeekViewDefinition DayStartTime="7:00" DayEndTime="19:00"/>
    </telerik:RadScheduleView.ViewDefinitions>
</telerik:RadScheduleView>

And here is the code behind:
private ObservableCollection<Appointment> appointments;
void ExamRoomScheduler_Loaded(object sender, RoutedEventArgs e)
{           
    appointments = new ObservableCollection<Appointment>();
    ScheduleView.AppointmentsSource = appointments;
 
    ExamRoomAppointment temp;
 
    temp = new ExamRoomAppointment("Test", DateTime.Now, DateTime.Now.AddMinutes(20), "Room 1");
    appointments.Add(temp);           
    temp.Resources.Add(new Resource() { ResourceType = "Room", ResourceName = "Room 1", DisplayName = "Room 1" });
}

ExamRoomAppointment inherits from Appointment.

I must be doing something wrong here but I can't seem to figure it out!

Thanks,
Anthony
Kalin
Telerik team
 answered on 27 Aug 2013
1 answer
112 views
I followed the instruction here: http://www.telerik.com/help/wpf/445c6c91-a5d2-4b2f-aa20-d238f1c4ad03.html to edit the style of my tabs.

I am editing a copy the RadTabControl template.  When I create a copy of the template using 'Edit a copy' The new copy has all of the settings in it but the tab doesn't respond to the mouse. Even if I 'Edit a Copy', and make no changes, just save and build the project, the tab stops responding to Mouse over and Normal state. They stay stuck in the Normal state even though the tabs do work and can be selected in the application.

As far as I understand, if I make a copy and make no changes, then it should behave the same as the other tabs using the default template. This is not the case

I am using Q3 2013 and Blend 5.

Thanks,

Bruce
Pavel R. Pavlov
Telerik team
 answered on 27 Aug 2013
1 answer
222 views
When a document is exported from RichTextBox into XAML it cannot be displayed in FlowDocumentReader control.

I looked at the exported XAML and the root element is <t:RadDocument>. This cannot be displayed in FlowDocumentReader control. I tried enclosing this within <FlowDocument> element but that did not help...

Anyway, how do I display XAML document exported by RichTextBox in FlowDocumentReader control? Or can this XAML genarated by RichTextBox only be displayed by the Telerik RadRichTextBox control?
Deyan
Telerik team
 answered on 27 Aug 2013
3 answers
352 views

i have been looking on the Forums and Documentation for some samples on how to edit Custom Styles for the Ribbon UI in XAML and also in Code Behind.

If there are links or fourm posts', could you link them, and I will look at those.

If not could you make s small project for WPF?

We want to add a custom style with Times New Roman Font Size 10
Sample Spacing so 1 not 1 1/2
Color Black
List Styles, pretty much the default ribbon styles and have it default to the styles I change?

 I added a attachment of the ribbon, and I would like to make it appear as the first choice.
Mihail
Telerik team
 answered on 27 Aug 2013
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?