Telerik Forums
UI for WPF Forum
1 answer
121 views
How do you hide the chart legend in XAML? 




Sia
Telerik team
 answered on 13 Jul 2010
1 answer
216 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
197 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
160 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
171 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
63 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
3 answers
524 views
i have a "total" readonly field in my collection.
and it depends upon three other fields (quantity, Unit price, discount)
upon changing of any of these values i can see in debugging that the total property also changing,
but that is not reflecting in Grid Column of Total.
how to reflect the new value instantantly
however i have a simple Aggregate sum function in bottom which updating fine. but not the total Column field.

Rossen Hristov
Telerik team
 answered on 13 Jul 2010
5 answers
234 views
Hello,
I'm using RadControls for WPF Q1 2010 SP2.
I'm trying to save data from the Gridview with BinaryFormatter. My custom class is marked as serializable and saving List<MyClass> is OK, but when I'm trying to save MyGridView.Items the following error occures:

Type 'Telerik.Windows.Data.WeakEvent+WeakListener`1[[System.ComponentModel.
PropertyChangedEventArgs, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]'
in Assembly 'Telerik.Windows.Data, Version=2010.1.603.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'
is not marked as serializable.

Maybe I'm doing something wrong, so I need help, please.
Jokerwolf
Top achievements
Rank 1
 answered on 13 Jul 2010
0 answers
94 views
MY USER CONTROL XAML

<UserControl x:Class="CommonControl.PagingBar"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
   xmlns:PagingBar="clr-namespace:CommonControl;assembly=CommonControl"
    Height="38" Width="304" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
    <StackPanel Height="34" Width="300">      
        <telerik:RadButton Name="btnPaginStart" Click="btnPaginStart_Click" HorizontalAlignment="Left" Margin="5,5,0,-24" Height="24" Width="24"   >|&lt;</telerik:RadButton>
        <telerik:RadButton Name="btnPaginEnd" Click="btnPaginEnd_Click" HorizontalAlignment="Left" Margin="220,0,0,-24" Height="24" Width="24" >&gt;|</telerik:RadButton>
        <telerik:RadButton Name="btnPaginPrevious" Click="btnPaginPrevious_Click" HorizontalAlignment="Left" Margin="35,0,0,-24" Height="24" Width="24" >&lt;</telerik:RadButton>
        <telerik:RadButton Name="btnPaginNext" Click="btnPaginNext_Click" Margin="190,0,0,0"  HorizontalAlignment="Left" Height="24" Width="24">&gt;</telerik:RadButton>
        <my:IntegerInput Height="18" Margin="-50,-20,0,0" Name="integerInput1" ValueChanged="integerInput1_ValueChanged" Width="120"  xmlns:my="clr-namespace:DevComponents.WpfEditors;assembly=DevComponents.WpfEditors" />
    </StackPanel>
</UserControl>



XAML.CS

public event EventHandler pgnPaging_EventExecuteLoad;

private void btnPaginEnd_Click(object sender, RoutedEventArgs e)
        {
         // WANT TO CALL EVENT IN BUTTON CLICK
          pgnPaging_EventExecuteLoad(NULL,NULL);
        }


USER CONTROL USE IN

 <PagingBar:PagingBar Height="38" VerticalAlignment="Top" HorizontalAlignment="Left" Width="256" ></PagingBar:PagingBar>

WANT TO CALL

public void pgnPaging_EventExecuteLoad(object sender, System.EventArgs e)
        {
            loadGroup(2, 1, 20);            
        }

ERROR IS -  Object reference not set to an instance of an object
Shanka
Top achievements
Rank 1
 asked on 13 Jul 2010
4 answers
146 views
Hi all,
    i have a total column in my grid. which is calculated through IValueConverter. it works fine. i want to have its grand total in Footer. so how to do it?
Wasif Jahangir
Top achievements
Rank 1
 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
Slider
Expander
TileList
PersistenceFramework
DataPager
TimeBar
Styling
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
CardView
DataBar
WebCam
FilePathPicker
Licensing
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?