Telerik Forums
UI for WPF Forum
1 answer
137 views

Hi,

i try to save and load minimized ToolWindows. This works, but the original size gets lost.

Reproduce: Minimize ToolWindow, Save, Load, Restore -> wrong size

I atteched a simple sample where you can push the buttons from 1 to 4 to reproduce it. Pressing button 1 and 4 back and forth works as expected.
In the produced XML i see, that FloatingWidth and FloatingHeight is reset to some "strange" values (160 and 28) after minimize.
When i restore the Window after Load it gets a size of 1440x879

I also dont know how i can sneak in this process to "correct" the values or save some custom/attached ones ...

regards marco

Stenly
Telerik team
 answered on 09 Mar 2023
1 answer
139 views

What is the best way to reference telerik controls in a project?

I'm a new dev to my team, and I'm seeing telerik controls being referenced in Dependencies via Telerik.UI.for.Wpf.60.xaml in a folder that is under the users directory.

My problem relates to this being a dependency in a team members Windows Users folder (which I don't have) as well, after installing telerik controls myself and creating a new project from the telerik templates, I have a Telerik.UI.for.Wpf.70.xaml folder (not the 70 instead of 60).

First, what is the best way to reference telerik controls in a shared solution? And second, how do I get the code to compile and run?

Thank you any advice you can offer.

Peter
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 08 Mar 2023
1 answer
125 views
In my programm there is some search area at the bottom of the window. When  my user select the Item in Bottom area It schould displayed on the right side of the window.  How ever i have problem to Set new Pane focused. Or selected or something like this.  In the exmple  new Pane is created collapsed, and the source Pane stays in focus.   You need click on the new Pane to hide privous one and set the new pane focus. Is it posible to make it from code behind?
Stenly
Telerik team
 answered on 08 Mar 2023
0 answers
152 views

If I Set the ChartPanAndZoomBehavior to "Both", I can zoom a both within the same ratio or zoom one axis on its scrollbar.

 

How can I lock the two Axis to the same display ratio? (Same value/pixel ratio , I have the same unit meter on both axis), and allow the user zoom only together with two axis, disable the func of zoom single axis. 

Guang
Top achievements
Rank 1
Iron
 updated question on 07 Mar 2023
3 answers
441 views

Hello,

we have old code for generate label with barcode Code39

var barcodeBox = new RadBarcode39
{
 Text = "2015-19541",
 RenderChecksum = false,
 ShowChecksum = false,
 ShowText = false,
 Width = 192,
 HorizontalAlignment = HorizontalAlignment.Center,
 VerticalAlignment = VerticalAlignment.Stretch,
 Margin = new Thickness(5, 0, 5, 0),
}; 

and have result https://ibb.co/3hgJHCw

after upgrade to new control with code

var barcodeBox = new RadBarcode
{
 Value = "2015-19541",
 Width = 192,
 HorizontalAlignment = HorizontalAlignment.Center,
 VerticalAlignment = VerticalAlignment.Stretch,
 Margin = new Thickness(5, 0, 5, 0),
 Symbology = new Code39()
 {
  AutoChecksum = false,
  ShowText = false,
  SizingMode = SizingMode.Stretch
 }
};

we have result https://ibb.co/k8hPdLp

Old barcode we can scan, but new barcode we cannot scan

Jan
Top achievements
Rank 1
Iron
 answered on 06 Mar 2023
0 answers
137 views
Hi everyone I have a question .I want to change max column from 4 to 6 and resize small calendar. I use RadCalendar . . please help me. thanks
thanh
Top achievements
Rank 1
 updated question on 06 Mar 2023
0 answers
268 views

I was reading this article here and it skips the process of how to add a Telerik RadWindow?  

There doesn't actually seem to be an option to add a Telerik WPF RadWindow, only the default Microsoft WPF window.

Documentation just says "Declare" ... so I'm assuming we're supposed to modify a Microsoft template for the XAML?

This is VS 2022 17.5 using Telerik UI WPF 2023.1.117.

Rob.

Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
 asked on 02 Mar 2023
1 answer
457 views

I've used RadGrid and inside that I have one listview with expander control. It is working fine and Expander also expanding and collapsing fine.

But only one issue I have is, when I expanded the Expander and try to scroll down the RadGrid, Expander collapsing every time, it is not retaining it's previous expand state.

I could overcome this by disabling the Virtualization on RadGrid but in that case RadGrid taking long time to load/render.

 

Any help would be appreciated.

Thanks,

Stenly
Telerik team
 updated answer on 02 Mar 2023
2 answers
972 views

Hi,

let's take a TextBlock as an example. What's the correct syntax to set the foreground or background color from code behind, using the resources for the Windows 11 palette for instance ?

Also if using it this way, would the color automatically switch to the correct theme variation (light to dark, dark to light) ?

Thank you for your help

Romain
Top achievements
Rank 2
Iron
Iron
 answered on 02 Mar 2023
1 answer
117 views

Hi,

Would it be possible to have an editable AutoCompleteBox TextBox Part to mimic the RadWatermarkTextBox with floating Label?

Stenly
Telerik team
 answered on 01 Mar 2023
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?