Telerik Forums
UI for WPF Forum
1 answer
166 views
I am trying to change the application theme at runtime using the approach provided on the Rad Controls for WPF website.

I'm clearing the default MergedDictionaries instantiated in App.xaml and updating with new MergedDictionaries from the NoXaml binaries that I have referenced in the project.  The button to execute this code is located on the Backstage via DelegateCommand.  When the code is executed, it appears to affect the rest of the application but not the Backstage itself.  If I navigate to a different ribbon tab and back to the Backstage, then much of the styling is updated, but with the loss of the hover effects and some of the styling of the strips on the left hand side.
I have references to Telerik.Windows.Controls.xaml, Telerik.Windows.Controls.Input.xaml, Telerik.Windows.Controls.Navigation.xaml, and Telerik.Windows.Controls.RibbonView.xaml being updated when the code runs.

Is there something that I should be doing differently?  Thanks for your help! 
Stefan
Telerik team
 answered on 09 Nov 2012
3 answers
256 views
1st issue - We're new to the Telerik controls.  When using the RibbonWindow and the RibbonView, the Title of the Window is black without a white blur behind/around it, making the title very difficult to see.  Which style do I need to change to add the BlurEffect?  Also, on Windows 7 with Aero turned on, could not this blur not be the default style.  

2nd issue - The interaction between the RibbonWindow and RibbonView, the title, and the IconVisibility/WindowIconVisibility properties is quite confusing.  In our sample applications, the window icon shows up perfectly to the left of the QAT.  But we cannot get the icon to display in our Win32 application with integrated Telerik controls nor does the window menu open when clicking on it.  The RibbonWindow/RibbonView and QAT display correctly.  I seem to have tried all combinations of  IconVisibility/WindowIconVisibility property settings.  I don't know what else to try.  Any guidance would be appreciated.

Dan - Bentley Systems, Inc.

Tina Stancheva
Telerik team
 answered on 09 Nov 2012
1 answer
95 views
When the radrichTextBox's width exceeds the A4's width, Is there a way to print the content  by more than one A4 page.
Iva Toteva
Telerik team
 answered on 09 Nov 2012
6 answers
167 views
number formatting like 23,344.45 should be displayed only in view mode. but when user enter it should display 23444.45 without formatting.
Below text property is not displaying data in N2 string format. what is correct way to use Value and Text property.?

 <RadMaskedNumericInput
 Value="{Binding  XXX, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}" 
Mask="" Text={Binding StringFormat=N2}"/>
Tina Stancheva
Telerik team
 answered on 09 Nov 2012
3 answers
315 views
Some of my users are slow typists.  Is there a way to adjust the maximum delay between key strokes before the combobox assumes you are starting a new word?

In other words, if the following items are bound to the combo box:

12345
12346
12347
4111

And the user starts typing 1234, if they pause long enough between the 3 and the 4, the selection will go to the 4111 item.  I want to be able to edit the amount of time they are allowed to take between key strokes before it it assumes they're starting a new search.
Thanks.

Aaron

Vladi
Telerik team
 answered on 09 Nov 2012
2 answers
209 views
Hi Telerik Team,

I have added a GridViewColumnGroup to a WPF RadGridView (version 2011.3.1220.40).

<Telerik:RadGridView.ColumnGroups>
       <Telerik:GridViewColumnGroup Name="gvGroup" Header="Header"></Telerik:GridViewColumnGroup>
</Telerik:RadGridView.ColumnGroups>


The header text is dynamic in my case. The gridview data gets refreshed on click of an hyperlinkcolumn of the same grid, so the header text of the GridViewColumnGroup also needs to refreshed. I tried changing the header text programmatically as given below.

The data in the gridview gets refreshed but the header text of the GridViewColumnGroup is not getting refreshed consistently. 
Sometimes it does gets refreshed where as sometimes it doesn't .

foreach (GridViewColumnGroup item in radgvPrerequisiteRelType.ColumnGroups)
{
           if (item.Name == "gvGroup")
            {
               item.Header = null;
               item.Header = "ProjectId [" + lngProjectId + "]";
            }
}

Could you please let me know the solution for this problem.



Thanks,
Regards,
Mausami
Pavel Pavlov
Telerik team
 answered on 09 Nov 2012
1 answer
271 views
Dear Team,
  I have a RadTileView which bind to list. Problem is that i dont want any header (area, text, togglebutton). Please guide me through sample application. In attached image my problem may be more clear. on Left side i have a tile view (items source not bind) have individual tileviewitems. I got my desired result. How i will get such result if i bind items source to some collection. Here in example  i only set contentTemplate.  Can you tell me difference between content template and itemstemplate???
Here is my code for your reference

<DataTemplate x:Key="ContentTemplate">
            <Grid Width="{Binding RestoredWidth}" Height="{Binding RestoredHeight}">
                 
                <telerik:RadTileViewItem Background="#1a9fe0"
                                     Content="{Binding Content}"
                                     MinimizedHeight="125"
                                     RestoredHeight="{Binding RestoredHeight}"
                                     RestoredWidth="{Binding RestoredWidth}"
                                     Style="{DynamicResource RadTileViewItemStyle}" />
            </Grid>
        </DataTemplate>
 //Where RadTileViewItemStyle is Same Style I used in First RadTileView
<!--///////////////////////////////////////////////////////////////////////////////////-->
            <telerik:RadTileView Name="RadTileView1" Width="1000" Grid.Row="1" Grid.Column="1" MaximizeMode="Zero"  Margin="20 0 0 0" Height="400"
                            ColumnsCount="4"                        
                             RowHeight="Auto"
                              ColumnWidth="Auto"
                             DragMode="Swap"
                             MinimizedColumnWidth="100"
                             MinimizedRowHeight="Auto"
                             HorizontalContentAlignment="Stretch"
                             PreservePositionWhenMaximized="True"              
                             telerik:TileViewPanel.IsColumnsShrinkEnabled="True"
                             telerik:TileViewPanel.IsSizeBoundToPosition="True"
                             ContentTemplate="{StaticResource ContentTemplate}"
                                 >
 
            </telerik:RadTileView>
public List<TileView> Collection = new List<TileView>();
///////////////////////////////////////////////////////////////////////////
            Collection.Add(new TileView() { Content = "Item8", RestoredHeight = 100, RestoredWidth = 245 });
            Collection.Add(new TileView() { Content = "Item9", RestoredHeight = 100, RestoredWidth = 245 });
            Collection.Add(new TileView() { Content = "Item10", RestoredHeight = 100, RestoredWidth = 245 });
            Collection.Add(new TileView() { Content = "Item11", RestoredHeight = 100, RestoredWidth = 245 });
 
            Collection.Add(new TileView() { Content = "Item12", RestoredHeight = 100, RestoredWidth = 245 });
            Collection.Add(new TileView() { Content = "Item13", RestoredHeight = 100, RestoredWidth = 122 });
            Collection.Add(new TileView() { Content = "Item14", RestoredHeight = 100, RestoredWidth = 122 });
            Collection.Add(new TileView() { Content = "Item15", RestoredHeight = 100, RestoredWidth = 245 });
            Collection.Add(new TileView() { Content = "Item16", RestoredHeight = 100, RestoredWidth = 245 });
 
            RadTileView1.ItemsSource = Collection;
Tina Stancheva
Telerik team
 answered on 09 Nov 2012
6 answers
321 views
Hello,
I have a diagram. When I call AutoFit() method it does not fill all the space available of the host window.I have to zoom in (manually) a bit to get a better fit. How do I achive AutoFit functionality that makes diagram as large as possible filling all visible space of the host window? Some function like ZoomToFit()?
I attach two images of what I get by default and what I would like to get.
Mikhail
Top achievements
Rank 1
 answered on 08 Nov 2012
1 answer
171 views
Hi, 

I have got model:

public class Category
{
    public int Id { get; set; }
    public string Name { get; set; }
    public int? ParentCategoryId { get; set; }
    public virtual Category ParentCategory { get; set; }
    public virtual ICollection<Category> SubCategories { get; set; }
}

And in MVVM:

private ObservableCollection<Category> _categories;
public ObservableCollection<Category> Categories
{
    get { return _categories; }
    set
    {
        if (_categories == value) return;
 
        _categories = value;
        OnPropertyChanged("Categories");
    }
}

I found an example, but I don't want to create a new model, and even more so to edit an existing one.
Could you explain to me step-by-step, how I can bind the data to treeview (with parents and their childs')?
Sergiy
Top achievements
Rank 1
 answered on 08 Nov 2012
1 answer
133 views
Hello
I tried insert one RadDataForm into another and I accomplished this, but nested form acts like parent e.g. I start edit parent form and child form is automatically being edited too. Can thay work independently? How can I achieve this ?
Ivan Ivanov
Telerik team
 answered on 08 Nov 2012
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?