Telerik Forums
UI for WPF Forum
5 answers
432 views
I am generating a report in docx through our application using telerik Document processing. So far I've been able to add the correct content, but I've encountered some styling issues regarding the heading levels. I've successfully changed the styling for all the levels to decimal instead of aplhabetical, lower roman etc... but this results in each heading level restarting their heading display as simply "1" instead of for example the first level 2 header being "1.1". Could you please help me to obtain this formatting? 

The current way I have set the heading numbering to decimal is:

ListStyle newListStyle = DefaultListStyles.Numbered;
 
 DocumentList documentList = new DocumentList(newListStyle, Document);
 
 for(int i=0;i<maxTOClevel;i++)
 {
     documentList.Style.Levels[i].Indent = 0;
     documentList.Style.Levels[i].HangingIndent = 0;
     documentList.Style.Levels[i].NumberingFormat = ListNumberingFormat.Decimal;
 
 }


Regarding the table of contents formatting, I cannot find where to specify that the header numbers should be visible in the table of contents, nor where to change the line decoration between title and page number to a solid line instead of a dotted one. Perhaps they are both located in the same styling object?

I've tried setting the underline decoration to a solid line via:
StyleDefinition toc1Style = Document.StyleRepository[RadDocumentDefaultStyles.GetTocStyleNameByIndex(1)];
toc1Style.SpanProperties.UnderlineDecoration = UnderlineTypes.Line;

but this simply adds a line under the entire row, instead of changing the existing dotted line into a solid one. Any help regarding these formatting questions would be greatly appreciated.
Joonatan
Top achievements
Rank 1
 answered on 09 Oct 2014
1 answer
111 views
Hello,
is there a simple way I can disable the edit on an appointment but I can create/delete ?

as far I've seen there's a read-only slot option avaiable but it doesn't match my needs

Thanksi n advance
Paolo
Yana
Telerik team
 answered on 09 Oct 2014
3 answers
138 views
Hi There,

I have a requirement like when RadDateTimePicker control is in read only then its tab stop should be true. I wanted to set this in Style, can you please help me how i can do this?

Thanks in advance,
Raj. 
Yana
Telerik team
 answered on 09 Oct 2014
1 answer
165 views
Hey,

I am running the WPF demos source code to look at how the OrgChart diagram works. It seems to work perfectly fine on the demo project and i can even edit the source and make changes to it.

The issue that i am running into is that it seems that i cannot run just that application directly. The UI is blank except for the borders of the control. I also copied all the sourcecode to my own project and it had the same effect. Its really strange

This is a little frustrating as i know i am missing something that is simple about the entry point. Has anyone been able to get these to run on there own or know what i am doing wrong?
Pavel R. Pavlov
Telerik team
 answered on 09 Oct 2014
3 answers
188 views
Hi,

is it possible to load RibbonView Items from xaml as Itemsource?

Thanks
Best Regrads
Rene
Martin Ivanov
Telerik team
 answered on 09 Oct 2014
1 answer
116 views
Hi,

Do you have a release date for the next release that will contain the new radial menu for WPF ?

Thank you!

Etienne
Yana
Telerik team
 answered on 09 Oct 2014
4 answers
141 views
I have a scenario where I have a grid with 20 columns. When the user filters on any columns of the I want a label to display which columns are filtered. How can I do that in the grid? I tried using the Filtered event but got stuck:

        protected void TelerikGridFiltered(object sender, GridViewFilteredEventArgs e)
        {
            filterRecordText.Text = e.ColumnFilterDescriptor.Column.Name;
        }

Dongzhi
Top achievements
Rank 1
 answered on 08 Oct 2014
13 answers
404 views
I want to hide some nested properties (For example "IPAddress" properties).
In short, I want to see the IPAddress property, but I don't want it to be a nested property.

I've tried this, but it doesn't work.  Any suggestions on how to accomplish it?  I've attached a screenshot too.
private void PropsGrid_AutoGeneratingPropertyDefinition(object sender, Telerik.Windows.Controls.Data.PropertyGrid.AutoGeneratingPropertyDefinitionEventArgs e)
{
    string[] hiddenProperties = { "RotationAngle", "IsSelected", "Position", "Visibility", "Width", "Height", "Content", "Background" };
    if (hiddenProperties.Contains(e.PropertyDefinition.SourceProperty.Name))
    {
        // I want to hide some properties of the inherited object (this works)
        e.PropertyDefinition.Visibility = System.Windows.Visibility.Collapsed;
    }
    else if (e.PropertyDefinition.SourceProperty.PropertyType == typeof(IPAddress))
    {
        // I want to show IP address, but do not want them to expand NestedProperties
        // THIS DOESNT WORK
        e.PropertyDefinition.NestedProperties = null;
    }
}
Yoan
Telerik team
 answered on 08 Oct 2014
4 answers
726 views
The subject says it all.
Anthony
Top achievements
Rank 1
 answered on 08 Oct 2014
1 answer
159 views
<Please Refer Picture>

Hi, how to change Word Icon to solid? I dont want the transperency effect. Scroll out the properties but I didnt found what I want.
Boris
Telerik team
 answered on 08 Oct 2014
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?