Telerik Forums
UI for WPF Forum
9 answers
790 views
Hello,

I am trying to change the styling of RadPanes. I ultimately want to also change the shape of the tabs, but for now I am just trying to customize the colors of the tabs, text, and border of the pane.

I tried putting a RadDocking with a RadPaneGroup and two RadPanes in Blend. I can see the tabs, but when I click on the RadDocking item in the Objects and Timeline, I only see an option to edit a copy of the Template, not the Style. Using the Object > Edit Style menu only show the Create Empty option enabled.

I would appreciate any help as I won't have any hair left to pull out soon. Thanks.
Masha
Telerik team
 answered on 29 Jan 2013
0 answers
93 views
There is an window with three combo boxes:
<Window ... >
    <StackPanel>
        <telerik:RadAutoCompleteBox/>
          
        <telerik:RadAutoCompleteBox
            x:Name="_combo"
        />
      
        <telerik:RadAutoCompleteBox/>
    </StackPanel>
</Window>

and back code:
public partial class MainWindow : Window
{
    public MainWindow()
    {
        InitializeComponent();
        Loaded += MainWindow_Loaded;   
    }
 
    void MainWindow_Loaded(object sender, RoutedEventArgs e)
    {
        _combo.Focus();
        //_combo.MoveFocus(new TraversalRequest(FocusNavigationDirection.Next)); //(!)         
    }
}



Steps:
1. show window
2. type some text (without tabs)

expected: some text appears in second combo box with name "_combo".
actual: second combo box has focused appearance, but does not accept any input
actual with line (!) uncommented: as expected.

This is strange behavior because, for example, dateTimePicker would work as expected without uncommenting line (!)
Alexus
Top achievements
Rank 1
 asked on 29 Jan 2013
2 answers
180 views
Hello.
Question is "How to tell RadTimePicker to parse input text from CurrentDateTimeText property and refresh SelectedTime property by parsed value".

Background:
My control consists from RadTimePicker and two buttons - accept and cancel.
It works but there is an issue.
If user input "1234" to the picker an then press accept button without pressing enter - there is old value in  SelectedTime property (but  CurrentDateTimeText contains user`s input). 

Thanks.
Alexus
Top achievements
Rank 1
 answered on 29 Jan 2013
2 answers
142 views
I have a RadTreeListView in an MVVM project which I am trying to persist with the IsolatedStorageProvider.  The RadRibbon control save and load routines use a mediator pattern with ICommand and command classes.It only partially works.  I can save and restore column width settings, but IsExpanded and IsSelected cannot be saved and restored.  Also, it will not save and restore columns that are moved.  I save the settings, move a column and then load the settings, expecting the column to return to its original position, but some or all of the data in the columns disappear.  There may be other properties that can be saved or can't be saved, but I don't know what to test for. 
Gk
Top achievements
Rank 1
 answered on 29 Jan 2013
1 answer
284 views
Hello,

I have a problem with WPF Command and I need some Help.
I defined some static RoutedCommand in my App class. My main window is composed of a RadRibbonView and a RadTabControl.
I Populate the TabControl with some classes that inherit from RadTabItem.
 Buttons in the ribbon are bound to my RoutedCommand and I add commandbindings bound to the commands In my RadTabItem children classes.
My TabItem has the Content property set to a UserControl.The buttons works fine while the TabItem header has the focus but if I click on the content of the TabItem (my UC), the button stop calling the CanExecute and Executed callbacks of my TabItem.
I Want the selected TabItem always manage the CanExecute and Execute call for all commands.

How can i handle this ?

Thank you,
Benjamin
Top achievements
Rank 1
 answered on 28 Jan 2013
6 answers
364 views
Hello.

I have some problem. I use ProperyGrid to modify object properies (I have mdi window control. And for selected window I set class A to PropertyGrid.Item in dynamic). In class A I have Prop1 and List1 of suitable values for Prop1. Prop1 is a selected value from List1. How can I display this property in ProperyGrd?

Thanks.
Anton
Top achievements
Rank 1
 answered on 28 Jan 2013
0 answers
137 views
Hi,

there is a bug in implicit expression dark theme for RadPropertyGrid when NestedPropertiesVisibility is set to Visible.

Content template of SelectedField is unreadable, because Foreground and Background are almost the same color (light gray)

Here is simple demonstration:
https://skydrive.live.com/redir?resid=51A46BBA4E9EF07E!1314&authkey=!ALZkP7tJNZg9sUg

Just select a field in propertygrid and move mouse cursor out of the field
Daniel
Top achievements
Rank 1
 asked on 28 Jan 2013
7 answers
406 views
I would like the all the group row in expanded state all the time. How can I change the group row style to hide the expander? May I get a copy of the GroupRow style? I try to get it from Blend, it seems not working for me.

Thanks!
Iden
Top achievements
Rank 1
 answered on 28 Jan 2013
1 answer
116 views
I'm trying to use the Image Editor (WPF Q3 2012 WPF4.0) for the first time.  In the open and save dialog is there a way to restrict the user to just JPG files (*.jpg, *.fpeg) types.  I don't see how to do this from the documentation.
Petya
Telerik team
 answered on 28 Jan 2013
3 answers
152 views
I have a GridViewDataColumn with a CellTemplate that contains an ItemsControl which is templated for TextBlocks. The CellEditTemplate has a similar setup only with TextBoxes. Essentially I have several TextBlocks/TextBoxes per cell. What I want is when the user double clicks on a TextBlock the grid goes into editing mode and selects the corresponding TextBox by index. If I double click the third TextBlock in the cell then I want the third TextBox to start editing.

The default behavior is the grid selects the first TextBox upon entering edit mode. I have tried a couple of code behind solutions based on moving through the visual tree when PreviewMouseDoubleClick happens. But when I force the grid to enter edit mode the TextBoxes are not part of the visual tree as I would expect them to be. 

I would prefer a pure XAML solution but do not know how that would be done.
Pavel Pavlov
Telerik team
 answered on 28 Jan 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
PersistenceFramework
DataPager
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?