Telerik Forums
UI for WPF Forum
2 answers
186 views
Hi,
how can I add a new tab to PropertyGrid? Like Property Grid in Vsual Studio - witch has 2 tabs - 'Properties' and 'Events'.
Dilyan Traykov
Telerik team
 answered on 17 Jan 2019
1 answer
122 views

Hi,

I'm trying to change the names of the shapes I show inside the image editor tool but I can not get my head arround it how to do it.

I want to change the text of the shape rectangle and ellipse.

How to approach this problem?

Best regards.

Dinko | Tech Support Engineer
Telerik team
 answered on 17 Jan 2019
2 answers
118 views

I am currently implementing RadCartesianChart3D to display some data. Everything seemed to be working perfectly fine, and I was mostly able to follow the examples provided by Telerik. However, it seems I am unable to set the Behaviors property of the RadCartesianChart3D.

<telerik:RadCartesianChart3D.Behaviors>
     <telerikcv:Chart3DCameraBehavior />
</telerik:RadCartesianChart3D.Behaviors>

The above code block (set inside a RadCartesianChart3D) yields "The member Behaviors is not recognized or accessible". 

References are set as follows:

xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Chart"
xmlns:telerikcv="clr-namespace:Telerik.Windows.Controls.ChartView;assembly=Telerik.Windows.Controls.Chart"     
Martin Ivanov
Telerik team
 answered on 17 Jan 2019
13 answers
1.0K+ views

In regard to your WPF grid, in some cases we set the background and/or the foreground color of certain cells, and would like to maintain these colors if and when the grid is exported to excel.

When the GridView_ElementExportingToDocument event is fired, a GridViewElementExportingToDocumentEventArgs object is passed.  How can I use this object to determine the foreground and background color of the cell?

Yoan
Telerik team
 answered on 16 Jan 2019
14 answers
3.2K+ views
Hi All,

I am using RadGridView for my WPF application and want to display vertical and horizontal scroll bar whenever the number of colums and rows are more.

I have set its Styles as folows :
<Style TargetType="{x:Type telerik:RadGridView}">
        <Setter Property="HeaderRowStyle" Value="{DynamicResource GridViewHeaderRowStyle1}"/>
        <Setter Property="AlternateRowStyle" Value="{DynamicResource AlternateRowStyle}"/>
        <Setter Property="IsFilteringAllowed" Value="false"/>
        <Setter Property="RowStyle" Value="{DynamicResource GridViewRowStyle}"/>
        <Setter Property="GridLinesVisibility" Value="Both"/>
        <Setter Property="Cursor" Value="Hand"/>    
        <Setter Property="VerticalGridLinesBrush" Value="#CCCCCC"/> 
        <Setter Property="HorizontalGridLinesBrush" Value="#CCCCCC"/>
        <!--Setter Property="MinColumnWidth" Value="20"/>
        <Setter Property="MaxColumnWidth" Value="150"/>
        <Setter Property="ColumnWidth" Value="100"/-->
        <Setter Property="RowIndicatorVisibility" Value="Collapsed"/>
        <!--Setter Property="RowDetailsVisibilityMode" Value="VisibleWhenSelected"/-->
        <Setter Property="AlternationCount" Value="2"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="ShowGroupPanel" Value="False"/>
        <Setter Property="AutoGenerateColumns" Value="False"/>
        <Setter Property="IsReadOnly" Value="True"/>
        <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
        <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
        <Setter Property="IsScrolling" Value="True"/>  
  
    </Style>

Then in the main XAML i am using the following code :
<telerik:RadGridView  x:Name="billDataGrid" 
            Grid.Row="5" >
                               
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Header="Name" Width="*" TextWrapping="Wrap"/>
                <telerik:GridViewDataColumn Header="Address" Width="*" TextWrapping="Wrap" />
                       </telerik:RadGridView>    
        
        


But when i am running my screen then I am not able to see the scroll bar even the data is very large.

Kindly let me know where i am wrong in defining the scroll bar.
Dilyan Traykov
Telerik team
 answered on 16 Jan 2019
1 answer
351 views

I'm using the fluent theme, but I'd like to change the RadRibbonWindow's background to a darker color. That's easy to achieve by setting the Background property. However, since the title bar's foreground is black, it is almost impossible to see the title and the minimize/maximize/close buttons anymore when I'm using a very dark color..

I've found a style defiition for telerikRibbonViewPrimitives:WindowTitle in Telerik.Windows.Controls.RibbonView.xaml and changed the Foreground color to white. This works for the title, but how can I change the color of the minimize/maximize/close buttons?

I've seen that I could do that by setting FluentPalette.Palette.IconColor, but this changes all icons, not only the window icons.

 

Thanks for your help!

Michael

Dilyan Traykov
Telerik team
 answered on 16 Jan 2019
2 answers
205 views

Hello,

I'm using a RadDropDownButton as Editor inside a RadGridView cell. I have to display the DropDownContent when the cell enters in edit mode.

I've tryied to set the RadDropDownButton IsOpen property to "True" on the RadDropDownButton GotFocus event, but the RadDropDownButton immediatly closes its DropDownContent.

Any suggestion?

Thanks in advance.

Federico Gubellini
Top achievements
Rank 1
 answered on 16 Jan 2019
3 answers
88 views

     I have situation as below:

https://prnt.sc/m4wbkw

I have amount of cash in one column, and columns with teams. Each team can have some % in project.

Now I want to have in footer sum of the total amount which is multiply by % of each project.

 

Can someone help me? I've searched and there was nothing about multiplication.

 

Thanks.

Dinko | Tech Support Engineer
Telerik team
 answered on 16 Jan 2019
1 answer
193 views

Hello! 

 

Still working on the app with RadMap control. Now have possibility to place points and provide zones on the map (flag and a square on the screenshot 1)

While zooming map in and out, the zone size remain same, but the flag icon changes its size realtive to the map (screenshot 2). As I see, the cause is that the zoom changes, but the flag sixe remains the same.

The question is: is it possible to change the flag picture (or any other picture) absolute size while zooming, so it would cover the same part of map on any zoom level (as square zone does on the screenshots).

Thank you!

Vladimir Stoyanov
Telerik team
 answered on 16 Jan 2019
1 answer
389 views

     Hello,

I was able to override the style of the RadWindow prompt according to this thread: https://www.telerik.com/forums/radwindow-prompt-textbox-as-password

and I added one more textbox  but I could not read result (or did not know how) so I can use them in my app.

Is this approach possible because PromptResult is a string

 

Thanks alot

Dilyan Traykov
Telerik team
 answered on 15 Jan 2019
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
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?