Telerik Forums
UI for WPF Forum
1 answer
127 views

Hi there, 

I am using RadMaskedNumericInput to prevent users to input alphabet characters in my numeric input field. But if users enter more than 16 digits, the exponent symbol will appear. Is there any way to remove the exponent symbol. 

Best regard.

Viet

Vladimir Stoyanov
Telerik team
 answered on 16 Dec 2020
3 answers
130 views
I would like to know if there is a way to bind the columns to a enum value, and when I drag/drop the tiles between the columns, the correct enum assigned to that column is attributed to the object.
Dinko | Tech Support Engineer
Telerik team
 answered on 16 Dec 2020
1 answer
793 views

windows 10 WPF .Net Core 3.1 Telerik 2020 R3 Sp1:

<Window x:Class="DemoAll.Modules.Telerik.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                Title="MainWindow" Height="350" Width="525">
        <Grid>
                <telerik:RadButton x:Name="btTest" Content="test" Height="60" Width="120"></telerik:RadButton>
        </Grid>
</Window>

error:

SeverityCodeDescriptionProjectFileLineSuppression State
ErrorCS0234The type or namespace name 'Windows' does not exist in the namespace 'XXXXX' (are you missing an assembly reference?)

 

==========================================================================

no  x:Name="btTest"

        <Grid>
                <telerik:RadButton  Content="test" Height="60" Width="120"></telerik:RadButton>
        </Grid>

is ok!!!

Martin Ivanov
Telerik team
 answered on 15 Dec 2020
1 answer
296 views

add x:Name="xxxx" show error "" error CS0234: The type or namespace name 'Windows' does not exist in the namespace '' (are you missing an assembly reference?)

 

source:https://share.dmca.gripe/EUqiplofuPzhN3Kv.rar


Martin Ivanov
Telerik team
 answered on 15 Dec 2020
5 answers
333 views

I have the following WPF code

<telerik:RadBusyIndicator x:Name="ThumbnailLoadingIndicator" BusyContent="Loading clip..." IsIndeterminate="True" IsTabStop="False">
   <!-- Some content -->
</telerik:RadBusyIndicator>

 

and as you can see on the attached screenshot it is not rendered properly (i.e. the spinning circles are cut on top and bottom). I have tried to use various sizes and alignment but none of them are working so I guess there is an extra property I need to tweak (or there is a bug).

FYI I am using the fluent theme.

Dinko | Tech Support Engineer
Telerik team
 answered on 15 Dec 2020
2 answers
233 views

Reading the article here, it seems to indicate that setting of the font via control reference will not change the font on an imported document. 

https://docs.telerik.com/devtools/wpf/controls/radrichtextbox/frequently-asked-questions

 

Dim appPathAndFile As String = System.AppDomain.CurrentDomain.BaseDirectory & "\TreeScapesLog.txt"
Dim docProvider As New TxtFormatProvider
Using input As Stream = File.OpenRead(appPathAndFile)
    Dim docLogFile As RadDocument = docProvider.Import(input)
    rtbLogFile.Document = docLogFile
End Using

 

What that article suggests is the TxtFormatProvider strips the content of all formatting ... but it seems to assign a very large default font size.  How do I go about changing that font size when using TxtFormatProvider.Import ... I couldn't find any examples?

Cheers, Rob.

 

Dimitar
Telerik team
 answered on 14 Dec 2020
3 answers
233 views

Hello

I have upgraded my version from 2019 R3 to 2020 R3 and have found that the GridView layouts saved in the old version will not longer load in the new version.

 

Here is my existing code:

string layout; // loaded from file
PersistenceManager manager = new PersistenceManager();
 byte[] byteArray = Encoding.ASCII.GetBytes(layout);
MemoryStream stream = new MemoryStream(byteArray);
manager.Load(this.RadGridView, stream);

 

When trying to load the layout it fails with:

Exception thrown: 'System.NullReferenceException' in Telerik.Windows.PersistenceFramework.dll Object reference not set to an instance of an object.

 

If have tried enabling AllowCrossVersion, but this then fails with:

Exception thrown: 'System.ArgumentOutOfRangeException' in mscorlib.dll

 

The only way I can get it to work is by following the recommendation in this post Here, it then loads as expected and without any errors:

PersistenceManager manager = new PersistenceManager();
 byte[] byteArray = Encoding.ASCII.GetBytes(this.layout.Replace("Version=2019.3.1023.45", "Version=2020.3.1020.45"));
MemoryStream stream = new MemoryStream(byteArray);
manager.Load(this.RadGridView, stream);

 

This isn't a satisfactory fix in the long run. Could you please advise how I should be handling this?

 

Thanks

Dave

Dinko | Tech Support Engineer
Telerik team
 answered on 10 Dec 2020
17 answers
551 views

Hi,

 

I want to modify the RadImageEditorUI controls placement and remove some icons form controls. can you any one tell me how to remove File open and save control ?

 

Regards

Hema

Martin Ivanov
Telerik team
 answered on 09 Dec 2020
5 answers
307 views

Reading this article ...

Palette Font Size

Assume I have my Font Sizes setup as in the sample:

Office2016Palette.Palette.FontSizeS = 10; 
Office2016Palette.Palette.FontSize = 12; 
Office2016Palette.Palette.FontSizeL = 14;
Office2016Palette.Palette.FontFamily = new FontFamily("Segoe UI");

 

Suppose I want to set the FontSize for a specific control:

<telerik:RadRadioButton x:Name="rbBiomeOption" Grid.Row="0" Grid.Column="0" Content="Standard Biome" GroupName="Biomes" Margin="4" CornerRadius="8" FontWeight="Bold"/>

 

I'd like to add to the RadRadioButton something like 

<telerik:RadRadioButton x:Name="rbBiomeOption" Grid.Row="0" Grid.Column="0" Content="Standard Biome" GroupName="Biomes" Margin="4" CornerRadius="8" FontWeight="Bold" FontSize="FontSizeL"/>

 

Which is not valid, but that's essentially my objective.

Any ideas?

Cheers, Rob.

Martin Ivanov
Telerik team
 answered on 09 Dec 2020
6 answers
108 views

After reading the documentation on the ImageEditor I find a significant lack of documentation on how to use the many "commands".  In my case the HueShiftTool?

Image Editor Docs

I'd love to see code samples contained in the documentation rather than links to generic projects that need to be installed.  I usually just need the basic "idea" behind how to implement, but I see nothing on "HueShiftTool".  There is an "Effect" property but no idea what I need to do beyond that?

My objective is to simply apply a Hue Shift to the loaded image in the Image Editor.  I don't need all the UI aspects, just execute a hue shift on the loaded image.

Any suggestions welcome.

Cheers, Rob.

Rob A.
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 09 Dec 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
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?