Telerik Forums
UI for WPF Forum
8 answers
281 views
Hi,

MaskedTextBox can input in Chinese,but MaskedTextInput  was not.
MaskedTextBox has been removed in 2014 Q2, and are there solutions?
Martin Ivanov
Telerik team
 answered on 12 Jul 2018
1 answer
186 views

Hi Guys,

 

is it somehow possible to override the "IsChecked" style of a RadToggleButton within the RadToolBar?
I would like to have a "working"-spinner animation when a button is pressed.

 

Thank you very much.

Vicky
Telerik team
 answered on 12 Jul 2018
2 answers
435 views

I am trying to build a TreeView/Property Grid pair for my application.  In my application I have implemented the Hierarchical Data Template as described in the online documentation (https://docs.telerik.com/devtools/wpf/controls/radtreeview/populating-with-data/hierarchical-data-templates).  This populates the TreeView control as expected.

In binding the property grid to the SelectedItem of the TreeView, I found that I can only see the properties for the first TreeNode that is clicked.  In troubleshooting I tried updating the PropertyGrid through code, but I found that the SelectionChanged event only fires for the first node that is clicked on.  Any subsequent selection changes do not result in the SelectionChanged being fired.

How can I build this typical functionality into a Hierarchical Data Template based TreeView control?

DADean
Top achievements
Rank 1
 answered on 12 Jul 2018
1 answer
138 views

Hello, 

When I add a TextBoxField to an interactive form, and set it to IsReadOnly=true, I can still modify the value and it saves with the document.

Is there a fix to that?

Brandon

Georgi
Telerik team
 answered on 11 Jul 2018
1 answer
157 views

Hi Telerik,

I have a ribbon that I need to behave a little differently.

1.  I need it to always pop up the way that the ribbon does in "Minimized Mode"

2.  I need it to not auto-close when the window focus is lost or when something is clicked outside of the ribbon.

What's a good way for me to make this happen?

Vladimir Stoyanov
Telerik team
 answered on 11 Jul 2018
1 answer
85 views

HI,

 

I have seen that issue was raised already last year.

https://www.telerik.com/forums/richtextbox-doesn't-paste-google-documents-bullet-list#XzDTvIATk0ijGU2xwH5BPQ

I would like to know if anything was done to fix it?

 

I have installed Office 15.0.5041.1001 and I cannot copy paste any bullet list.

Copying and pasting work in case of users which have version 15.0.5031 (I don't know if it is coincidence or not).

 

Thanks in advance for quick answer

Beata

Peshito
Telerik team
 answered on 11 Jul 2018
5 answers
181 views

Hi, 

Currently i'm trying to implement virtualization layer with IMapVirtualizationSource to improve the performance of plotting in map.

it is working well.

my question is, is it possible to use data template for this layer? because when i tried to implement data template, it's not showing anything. if i create the data using ellipse object like in documentation, it shows all the data fine.

I follow the guide from this: https://docs.telerik.com/devtools/wpf/controls/radmap/features/virtualization-layer

 

My other question is, is it possible to change the layer opacity? because no matter what value i assign, it is still not changing the opacity

this is how i change the opacity:
    var vi = new VirtualizationLayer();
            vi.ZoomLevelGridList.Add(new ZoomLevelGrid(6));
            vi.Opacity = 0.5;

 

If i assign the item into vi.ItemSource, the opacity works, but it is not using the virtualization.

 

Thanks.

Vladimir Stoyanov
Telerik team
 answered on 10 Jul 2018
3 answers
463 views

How to change series color for a series as per some range values for different data  points of the same series ? For  example I want to show blue color for data points  between range -10-0 degree celcius , yellow color for data points  between range 0-25 degree celcius & red color for data points for the same series between range 25- 100 degree celcius. I want to do it for BarChart , Polar chart & Radar chart of Telerik WPF controls.

 

https://docs.telerik.com/devtools/winforms/chartview/customization/custom-rendering 

I have demonstrated example described on above link . I just want to same thing with WPF bar chart , polar chart . Please suggest easiest way .

Martin Ivanov
Telerik team
 answered on 10 Jul 2018
3 answers
848 views

I'm trying to using MVVM binding for the pdfviewer but the document always turns out blank.  I'm querying a DB field that contains the bytes of the PDF file and I'm trying to get it to display in the viewer (I've confirmed that the file is not malformed and it displays fine if I save it as a PDF to my desktop).

Here are my MVVM properties:

private RadFixedDocument _currentDocument;
public RadFixedDocument CurrentDocument
{
    get => _currentDocument; set => this.RaiseAndSetIfChanged(ref _currentDocument, value);
}

 

Here is the method I'm using to populate the CurrentDocument property:

var sqlStr = @"select top 1 * from FileManager order by ID desc;";
var file = await con.QuerySingleAsync<FMFile>(sqlStr);
var fileBytes = file.FileContent.ToArray();  // this is type byte[] - I confirmed that it has the correct contents
var ms = new MemoryStream(fileBytes); // ms gets filled properly
FormatProviderSettings settings = new FormatProviderSettings(ReadingMode.AllAtOnce);
PdfFormatProvider provider = new PdfFormatProvider(ms, settings);
CurrentDocument = provider.Import();

 

And here is how my XAML looks:

<telerik:RadPdfViewerToolBar RadPdfViewer="{Binding ElementName=pdfViewer, Mode=OneTime}" />
<telerik:RadPdfViewer x:Name="pdfViewer"
                              Grid.Row="1"
                              DocumentSource="{Binding CurrentDocument, Mode=TwoWay}" />

 

However, nothing get's displayed in the viewer.  I confirmed that my VM is hooked up correctly as other property display just fine.  Any advice would be appreciated.

Georgi
Telerik team
 answered on 10 Jul 2018
1 answer
134 views

I have an object with some properties, such as:

public class Result
{
    public DateTime Date { get; set; }
    public Double Temperature { get; set; }
    public Double Humidity { get; set; }
}

 

I would like to have possibility to dynamically change series which I plot at the chart.

Eg. to have ComboBox with string items: "Temperature" and "Humidity" with binding SelectedItems={Binding SelectedSeriesName}
In ViewModel property "SelectedSeriesName"
In chart
<telerik:StepLineSeries ItemsSource="{Binding Results}" ValueBinding="{Binding SelectedSeriesName}" CategoryBinding="Date"/>

of course that is not possible due to ValueBinding must be string.

How can I make this scenario corect?

Martin Ivanov
Telerik team
 answered on 10 Jul 2018
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?