Telerik Forums
UI for WPF Forum
2 answers
150 views
Hello!
The RadPane's context menu is useful in many scenarios and I would like to keep this feature in my application, but I need to limit that context menu to appear only when I right-click the header or when I click the small arrow in the upper right corner of the RadPane, because in my case, the RadPane content consist in a WrapPanel having some custom controls that treat their own right-click event ( so I don't want the RadPane to show it's context menu when I right-click inside it )
Is this possible?

Thank you!
RoxanaC
RoxanaC
Top achievements
Rank 1
 answered on 14 Jul 2010
2 answers
116 views
The items in my chart legend are arranged horizontally, even when I have the legend on the right. What do I need to do to get them to be arranged vertically? In the demos, this seems to be the default, but for me for some reason that doesn't happen.

Edit: the title is a little misleading; I mean "orientation" rather than alignment, but hopefully the picture and description makes it clear what I mean.

Steve
SteveL
Top achievements
Rank 2
 answered on 13 Jul 2010
3 answers
124 views
Has anybody else experienced slowness when either sorting a column or resizing the width of a column?

To sort or resize a column it is taking 8 seconds, you might think many rows is the problem. But I would not say that 320 records is a lot of rows.

I'm using the Model View View Model concept and creating a custom class that is binding to the grid. Could this approach be causing the slowness?
Chad
Top achievements
Rank 1
 answered on 13 Jul 2010
7 answers
766 views
hy everybody

is there an easy was to retrieve the number of rows of the GridView element i.e. gridview.rows.count? My intention is to build a loop i.e.
for i = 0 to gridview.rows.count - 1
...do something
next

Thanks for your help

Michael Lutz
BITsoft
Michael
Top achievements
Rank 1
 answered on 13 Jul 2010
1 answer
145 views
How do you hide the chart legend in XAML? 




Sia
Telerik team
 answered on 13 Jul 2010
1 answer
259 views
Hi

I am currently trialling the Q2 controls and have a couple of questions regarding the RadPanelBar.

Firstly - I have used the ControlTemplates provided in the documentation to re-style the panel bar and the panel items. However the content headers and the items are now styled the same, what I want is for the header to stand out from the items. Could you please advise how I style these two items differently?

Secondly - is there a way to set the panels so that when expaned they only take up the space required for their items? At the moment the panels are expanding to fill all available space - for example I have three sections, when I expand the first section the other two sections are pushed to the bottom of the container, I would like the sections to expand only enough to show their items.

Thanks.
Kiril Stanoev
Telerik team
 answered on 13 Jul 2010
2 answers
226 views
Hey,

I´ve got a problem with styling an PanelBarItem in a HierarchicalDataTemplate.
I copied a style and tried to bind it to my PanelBarItem, but only the default-style appears (with the exception of the foreground, this color agrees with my style ).

Do I have a simple PanelBar with a view items in it and bind the style to it, everything is fine.
Causes the HierarchicalDataTemplate this missing style?

Below the Structure of my PanelBar: 

 

<DataTemplate x:Key="BereicheTemplate"> 
 
<StackPanel Orientation="Vertical" Margin="5">
 
<TextBlock Margin="5" Text="{Binding Name}"/>
</StackPanel>
</DataTemplate>
<HierarchicalDataTemplate  x:Key="ItemPanelTemplateThemen"
                           ItemTemplate="{StaticResource BereicheTemplate}"
                           ItemsSource="{Binding BereicheListe}" >
 
<telerik:RadPanelBarItem   Style="{DynamicResource RadPanelBarItemStyleMC}"  
                           HeaderTemplate="{DynamicResource ThemenDataTemplate}"
                           Header="{Binding}" >
</telerik:RadPanelBarItem>
</HierarchicalDataTemplate>
.
.

<telerik:RadPanelBar x:Name="ThemenListe" Margin="0,23.424,0,147.867" ItemTemplate="{DynamicResource ItemPanelTemplateThemen}" Style="{DynamicResource RadPanelBarStyleMC}" >

 

 

 

 

 

Regards
Betty

 

 

 

Betty Häusler
Top achievements
Rank 1
 answered on 13 Jul 2010
2 answers
193 views
Hello telerikTeam,

I have an Issue with the SelectedColor in the RadColorPaletteView namely how can I get selectedColor ?
If I try this:

RadColorPaletteView colorPalette = sender as RadColorPaletteView;
 
RadColorPaletteViewItem selectedItem = colorPalette.SelectedItem;

I am getting null.

Could you please tell me what I am doing wrong ?

XAML
<telerik:RadColorPaletteView x:Name="BorderColor" Margin="0" Grid.Column="1" Palette="Standard" PaletteOrientation="Horizontal" Style="{StaticResource RadColorPaletteViewStyle}" VerticalAlignment="Center" PreviewMouseLeftButtonDown="ChangeColor"/>




Thank you.

Daniel
Viktor Tsvetkov
Telerik team
 answered on 13 Jul 2010
5 answers
193 views
We've noticed the IsChecked property does not respond to changes in the ViewModel. The properties the buttons IsChecked properties are bound to raise PropertyChanged events in the ViewModel, but do not respond to the event. Any ideas why they would not respond to changes?

We're using the most current 2010 release in a .Net 3.5 WPF application using the MVVM pattern.
Miro Miroslavov
Telerik team
 answered on 13 Jul 2010
1 answer
85 views
I have a simple TreeView with Editing enabled... and a few events.. however i have inconsistancies in the way the edit mode is working.... for some reason its clearing the text of the RadTreeViewItem, and other time it isnt?? see the video to see whats happening! i'm REALLY confused!!

http://www.screencast.com/users/kevinrhynas/folders/Jing/media/0bb7b9a7-1eb6-4a89-a7a5-016667f0ea4d
Valentin.Stoychev
Telerik team
 answered on 13 Jul 2010
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?