Telerik Forums
UI for WPF Forum
1 answer
94 views

Hi,

I am using RadRichTextBox to load .docx file. In my file, there are some headings and I would like to show collapse and expand icon as in MS Word https://support.content.office.net/en-us/media/a30ff5ac-4df5-4a37-9f03-4abaa5c16ac7.png. 

I have tried to open with Demo control but cannot see them.

Do RadRichTextBox support these functions? 

 

Thanks

 

Tanya
Telerik team
 answered on 01 Jul 2016
4 answers
336 views

Hi, I have used a ScatterLineSeries inside a RadCartesianChart with both HorizontalAxis and VerticalAxis set to LinearAxis.

The y-value shows probability of something for an elapsed time, so the only meaningful range for y-axis is 0 to 1, thus i set Minimum=0 and Maximum=1

Multiple consecutive points have y=1, so there should be a horizontal line at the very top of the graph. But is seems it will be completely cut away and not visible. I guess it makes sense if thickness is based on (Maximum - y).

I've tried working around by setting those values to y=0.99 and that work. I've also tried setting Maximum=1.01 and that also work.

However the first workaround gives big problems if i want to display the actual data, and the second workaround does not work well with minimum value.

I could set minimum value to -0.01, but then the first label will show value -0.01, and second label will show 0.09, and then 0.19 etc.

Any idea how I can solve this?

 

Philip
Top achievements
Rank 1
 answered on 01 Jul 2016
16 answers
601 views
How do I hide the week number for the RadDatePicker WPF control?
Jong
Top achievements
Rank 1
 answered on 30 Jun 2016
2 answers
874 views

I am running into this issue: "Startxref keyword cannot be found". 

I was referencing the information in the link below, and it did not solve my problem. My PDF does not have a blank space at the end, and using the code in the link didn't make the error go away. What other possible causes for this issue are there? I am unable to provide the document that is having issues because the document is confidential. 

http://www.telerik.com/support/kb/winforms/pdf-viewer/details/notsupportedexception-startxref-keyword-cannot-be-found-when-loading-pdf-file-in-radpdfviewer-for-winforms

Thanks,

Bryand

Bryand
Top achievements
Rank 1
 answered on 30 Jun 2016
5 answers
899 views

Hello Telerik,

 

I am trying to pre-group my Gridview on the start of the page (page load)

so i saw a very interesting documentation you have called "programmatic grouping", which has the following block of code i would need to use inside my XAML

<telerik:GroupDescriptor Member="Country"
SortDirection="Ascending"
DisplayContent="Country Group" />

 

My question is: where exactly is this GroupDescriptor? It doesn't seem to recognize the tag at all. Can you provide me a sample or something that uses it? I couldn't find one in your demos tool.

 

thank you.

Dilyan Traykov
Telerik team
 answered on 30 Jun 2016
1 answer
1.2K+ views

I'm using MVVM with property "IsBusy", set the DataContext to this property and change it when needed.

The problem is that in some cases the BusyIndicator (BI) is not visible.

Here is how the BI configured:

<telerik:RadBusyIndicator x:Name="CashierBusyIndicator" IsBusy="{Binding IsBusy}" >                 <Style TargetType="telerik:RadBusyIndicator">

The view model seems like that:

public class CashierStationMainWindowModel : INotifyPropertyChanged
    {
 
        private bool _IsBusy;
 
        public bool IsBusy
        {
            get
            {
                return _IsBusy;
            }
            set
            {
                _IsBusy = value;
                OnPropertyChanged("IsBusy");
            }
        }
 
        #region INotifyPropertyChanged implementation
        public event PropertyChangedEventHandler PropertyChanged;
 
        private void OnPropertyChanged(string propertyName = "")
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
        #endregion
    }

The method that change the BI is:

protected void EnableDisableBusyIndicatorAsync(bool enable)
    {
CashierStationMainWindow.GetInstance().CashierStationWindowModel.IsBusy = enable;    
 }

Simple not working example, this block is a button press implementation:

EnableDisableBusyIndicatorAsync(true);
 
System.Threading.Thread.Sleep(5000);
 
EnableDisableBusyIndicatorAsync(false);

Some more info:

* The BI located at RadWindow object.

* The not working block run from a RadPage located inside the RadWindow

* Other RadPages call the EnableDisableBusyIndicatorAsync method and it works fine.

 

Thanks in advanced,

Eliran

 

Nasko
Telerik team
 answered on 30 Jun 2016
2 answers
519 views

Hi there,

I use a RadGridView with ColumnGroups and I just can't find out how to make the column group headers as well as the regular column headers height smaller than the default size. My font size is quite small and the headers are using up much more space than required. If I increase the font size to let's say 30 the headers grow in height accordingly but shrinking only works to some point. Looks like there is some min height configured anywhere but I can't find it.

If I try to adjust the row header height through the HeaderRowStyle and set the height to some smaller value, the headers just get cut off which is not what I want... I use the Windows 8 Theme by the way...

Thanks for any kind of help on this topic.

Marcel

Stefan Nenchev
Telerik team
 answered on 30 Jun 2016
2 answers
142 views

Hello,

You can see a screen about my window contening RadGridViews. So, I've a got a line above each header of each GridView, and I don't found how I can hide it.

Can you help me ? Thanks.

Valentin
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 30 Jun 2016
1 answer
594 views

I am seeing some significant performance problem when using implicit styles that are marked as resource (build action).

Opening a dialog takes 5 second when the xaml (fo ex: Telerik.Windows.Controls.Data.xaml) files are marked as resource for build action, if i mark them as page the dialog opens up in a second.

I am developing and add-in project, basically my project is being hosted inside another WPF application, because of that I do not have an App.xaml file. I am referencing to no xaml binaries and have added all the telerik xaml files to my project.

Because I do not have app.xaml I am merging the xaml files in my dialog window. Not sure if this will cause the performance issue.

<Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="../../Themes/Custom/Common.xaml"/>
                <ResourceDictionary Source="../../Themes/Custom/RadTabControlStyle.xaml"/>
                <ResourceDictionary Source="../../Themes/Custom/RadButtonStyle.xaml"/>
                <ResourceDictionary Source="../../Themes/Custom/RadTimePickerStyle.xaml"/>
                <ResourceDictionary Source="../../Themes/Custom/RadMaskedNumericInputStyle.xaml"/>
            </ResourceDictionary.MergedDictionaries>
            <conv:EnumDescriptionConverter x:Key="enumDescriptionConverter"/>
            <conv:EnumFilterConverter x:Key="enumFilterConverter"/>
            <conv:ReverseBooleanConverter x:Key="reverseBooleanConverter"/>
        </ResourceDictionary>
    </Window.Resources>

 


 

Masha
Telerik team
 answered on 30 Jun 2016
7 answers
174 views

Hi,

I'd like to know if it is possible to create a custom ScatterAreaSeries like the one shown in the attached image.

I'd like to indicate some point and only the area between the line and that point to be colored.

Thanks,

Alberto

Benny
Top achievements
Rank 1
 answered on 30 Jun 2016
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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?