Telerik Forums
UI for WPF Forum
4 answers
152 views
Is there an example of adding an AutocompleteBox into a custom dataform data template that has the final value binding to a property that is unrelated to the itemssource?
Martin Ivanov
Telerik team
 answered on 24 Nov 2020
3 answers
87 views

When I set the StyleManager.ApplicationTheme to Windows8Touch, it breaks the RadTabControl's Align functionality.

To explain, I created a simple Telerik application whose main window consisted of a RadTabControl.  The controls tabs are on the left hand side and I use  Align="Justify" to make them space out evenly on that left side (taking up all the available space).  It looks great

<Grid>
         
    <tk:RadTabControl
        VerticalAlignment="Stretch"
        Align="Justify"
        TabStripPlacement="Left"
        TabOrientation="Vertical"
         
        >
        <tk:RadTabItem Header="First"/>
        <tk:RadTabItem Header="Second"/>
        <tk:RadTabItem Header="Third"/>
    </tk:RadTabControl>
</Grid>


But THEN I go into main MainWindow constructor and place this just before the call to InitializeComponent()

StyleManager.ApplicationTheme = new Windows8TouchTheme();


Suddenly the Align="Justify" stops working.  The tab control buttons are all aligned at the top

I've attached images showing you what I mean.  "BeforeTheme.jpg" is the application without the Windows8Theme, buttons nicely spead out.
"WithWindows8Theme.jpg". shows after I add it and the problem.

 

Dinko | Tech Support Engineer
Telerik team
 answered on 24 Nov 2020
3 answers
1.0K+ views

Hi

Having grids displaying scientific data - I want to include math symbols with subscript and superscript in the column headers. Xaml markup is sufficient to display the symbols. How do I add the column headers in code. They are read from an extended metadatabase dependent on the users choices, so static xaml styles/templates are not an option. The symbols and column captions may be combined into one header text or divided between two header rows, what ever is convenient.

How can this be done?

 

 

/Brian

Dilyan Traykov
Telerik team
 answered on 23 Nov 2020
1 answer
118 views

I am using implicit styles with UI for WPF. To customize some of the controls I have been copying styles and/or templates from the styles in the Telerik UI for WPF R3 2020\Themes.Implicit\WPF40\Fluent\Themes folder. This has been working fine but I am curious about the namespaces.

The styles I am copying make reference to a namespace called telerik1. After copying the style I initially was adding the telerik1 namespace to my custom style xaml file. That worked fine. More recently, instead of adding the namespace, I have been doing a search/replace to replace all occurrences of "telerik1" with "telerik". This also works fine.

I prefer just replacing "telerik1" with "telerik" and not adding the namespace. Are there any issues or downsides with that approach?

Vicky
Telerik team
 answered on 23 Nov 2020
1 answer
154 views

Hi Guys!

 

Title says it all, how to I change background color of the title bar. (see image)?

(if the answer involves this article https://docs.telerik.com/devtools/wpf/styling-and-appearance/styling-apperance-editing-control-templates, 
please be specific to what file Im should change in, Im new to Telerik)

 

Thanks in advance, Robert

Vicky
Telerik team
 answered on 23 Nov 2020
2 answers
478 views
Hi Friends,

I am using the Telerik RadGridView. I need to show a list of master records and on expansion I need to show the detail of child records. Do you have any such sample. What will be the class structures with MVVM approach.

Right now I have a - GridViewModel - that has an ObservableCollection of GridRowViewModels (master records). GridRowViewModels is set to the ItemsSource property of the Gridview. 

Now on expansion, I need to display an ObservableCollection that I am exposing through GridRowViewModel in the expanded section.

Please help.



herb
Top achievements
Rank 1
Veteran
Iron
 answered on 20 Nov 2020
12 answers
608 views

In our application we use the autogenerate property grid fields mechanism. The property grid is located in a radpane (RadDocking) like in visual studio. The LabelColumnWidth of the property grid is set to 100px. 

We have the problem that long string values (f.i. file paths) in the property grid value column cause horizontal scrolling. Is there any possibility to disable the horizontal scrolling if the values of property fields are to long for the field?

We would like to have an autoresizing property grid. If the user increases the size of the dock the label column stays on 100px while the value column width increases to the the size: width of the RadPane - width of the column value.

That would be the behaviour I would expect.

 

Thanks and best regards,

Simon

Dinko | Tech Support Engineer
Telerik team
 answered on 20 Nov 2020
2 answers
169 views

Hi!

Исходный текст

Dinko | Tech Support Engineer
Telerik team
 answered on 20 Nov 2020
3 answers
172 views

Hi,

I increased the font size of a RadMenuItem in a RadContextMenu. This part works fine. However, if the RadMenuItem has a nested menu, then it has an expander icon which looks too small next to the large font. Is it possible to increase the expander icon?

Dilyan Traykov
Telerik team
 answered on 19 Nov 2020
2 answers
360 views

Hi

Is there a simple way to obtain the Item Type of the  items in the source collection of RadGridView?

I see that there is an Items.ItemType property, but this always seems to be null.

 

Thanks for any help.

 

Kind regards

Dave

David
Top achievements
Rank 1
Veteran
 answered on 19 Nov 2020
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
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?