Telerik Forums
UI for WPF Forum
3 answers
365 views
Hi,
I wanna replace all TextBlock controls used in RadGridViews in my application with another control.
for example: if is instead of TextBlock, use RichTextBox.
there is any way to do that?
Thanks.
Ivan Ivanov
Telerik team
 answered on 27 Dec 2016
4 answers
157 views
Is there any way to turn of the manipulators that appear when a Bezier connection is selected?

I would like to give my users the ability to select/move or detach the connection but I don't want them to see the bezier manipulators (the circles that appear at the end of the dotted line).

I have tried setting IsManipulationAdornerVisible to false but unfortunately that removes all the manipulators and the connection can no longer be selected.

Thanks...
Thomas
Top achievements
Rank 2
Iron
 answered on 27 Dec 2016
7 answers
188 views

Hi,

I just tried this control and within 3 minutes, I customized it to get the perfect image editor for my project. My only issue is about localization (in french).

I can directly edit header and tools labels within XAML but some tools open a custom side-pane with non translated controls. (i.e. Draw tools => brush size, brush color). I don't know why this component is not localized. I tried several things like "Language="fr-FR" in XAML or even C#

System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("fr-FR");
         System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("fr-FR");

 

From what I understand, localized strings are in Telerik.Windows.Controls.dll so they should be charged. Even more weird, when I run the WPF Demos, I can success to run the Localized version of this control (the demo where you can choose between english, german, french)

Thanks for any help

 

ps: I have the very last version of UI for WPF (2016 R3)

info: I'm running it in a VSTO for Office. Not sure that changes anything but I prefer to give all information

Petar Mladenov
Telerik team
 answered on 27 Dec 2016
1 answer
114 views

Hi,

I was trying to display an ellipse with editable radius on the map and I found a strange behavior when the radius is set to zero after being bigger. The ellipse keeps its last non zero radius and move around when I zoom or move around. I've attached a sample project to show that behavior. So just zoom one time so that the shape is displayed (I don't understand neither why this is necessary) and change the size of the ellipse to zero using the slider on the top. This behavior also happens when using MapPathView containing ArgSegments from and to the same position so I guess this may happens with all Map*View with dimensions set to zero.

Thank for taking a look,

Etienne

Petar Mladenov
Telerik team
 answered on 27 Dec 2016
1 answer
448 views

I am trying to set the ZIndex on the Expander where the overlapped layout is a UniformGrid as per the following code:

<UserControl x:Class="Project1.TestExpander"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             Height="auto" Width="300">
    <Grid>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition x:Name="ButtonsColumns" Width="*"/>
                <ColumnDefinition Width="auto"/>
            </Grid.ColumnDefinitions>
            <UniformGrid Grid.ZIndex="1" Rows="2" Columns="4">
                <telerik:RadButton Content="TEST1"></telerik:RadButton>
                <telerik:RadButton Content="TEST2"></telerik:RadButton>
                <telerik:RadButton Content="TEST3"></telerik:RadButton>
                <telerik:RadButton Content="TEST4"></telerik:RadButton>
                <telerik:RadButton Content="TEST5"></telerik:RadButton>
                <telerik:RadButton Content="TEST6"></telerik:RadButton>
                <telerik:RadButton Content="TEST7"></telerik:RadButton>
                <telerik:RadButton Content="TEST8"></telerik:RadButton>
            </UniformGrid>
            <telerik:RadExpander Grid.ZIndex="2" Grid.Column="1" Header="Advanced" VerticalAlignment="Stretch" ExpandDirection="Left" IsExpanded="False">
                <Grid>
                    <telerik:RadButton Width="250"></telerik:RadButton>
                </Grid>
            </telerik:RadExpander>
        </Grid>
    </Grid>
</UserControl>

 

The problem is ZIndex property is not working. If you run the code above, when you expand the Expander, it will squeeze the buttons width until they disappear. The intended behavior using ZIndex property is to keep the buttons layout unaffected by the Expander animation, as a result, you can see the Expander content expanding over buttons but not squeezing the width.

NOTE: above code is working with canvas but it is not working with Grid, UniformGrid and StackPanel. Help Please.

Thanks in advance.

Martin Ivanov
Telerik team
 answered on 27 Dec 2016
3 answers
401 views

Hi,

I am using a dataform as a rowdetail editor in a gridview.

I have a global resource for changing button colors (not radbuttons). It works great but if I apply that same style to radbuttons, I end up affecting things I don't mean to touch. All I want is change the colors of OK and Cancel button of the RadDataForm. Can someone share an example of how to do this. I've read somewhere that I need to change a template but I have no idea how or, for that matter, where these templates might be.

Thanks ... Ed

 

Ivan Ivanov
Telerik team
 answered on 26 Dec 2016
1 answer
237 views

Hello!

Could you tell me how to adjust the crosshairs so that it shifted to a discrete value (for example a multiple of 0.25) for the "Y" axis (for example, 1 minute) on the X axis.

 

<telerik:RadCartesianChart Grid.Row="1" Background="{x:Null}">
 
            <telerik:RadCartesianChart.VerticalAxis>
                <telerik:LinearAxis x:Name="AxisY" HorizontalLocation="Right" LineThickness="1" SmartLabelsMode="SmartStepAndRange" MajorStep="1"   />
            </telerik:RadCartesianChart.VerticalAxis>
 
            <telerik:RadCartesianChart.HorizontalAxis>
                <telerik:DateTimeCategoricalAxis x:Name="AxisX" LabelFormat="HH:mm"
                                                LabelFitMode="Rotate" SmartLabelsMode="SmartStep"
                                                PlotMode="OnTicksPadded" />
            </telerik:RadCartesianChart.HorizontalAxis>
 
            <telerik:RadCartesianChart.Behaviors>               
                <telerik:ChartCrosshairBehavior
                    HorizontalLineLabelDefinition="{DynamicResource ChartAnnotationLabelDefinitionHorizontal}"
                    VerticalLineLabelDefinition="{DynamicResource ChartAnnotationLabelDefinitionVertical}" PositionChanged="ChartCrosshairBehavior_PositionChanged" />               
 
            </telerik:RadCartesianChart.Behaviors>
 
            <telerik:CandlestickSeries x:Name="csPrice" ZIndex="1"
                                       ItemsSource="{Binding Candles}"
                                       CloseBinding="ClosePrice"
                                       CategoryBinding="Date"
                                       HighBinding="HighPrice"
                                       LowBinding="LowPrice"
                                       OpenBinding="OpenPrice"
                                       AllowSelect="True"                                       
                                       DefaultVisualStyle="{DynamicResource CandleStikSeriesDefaultStyle}"
                                       DefaultVisualStyleSelector="{Binding Mode=OneWay, Source={StaticResource CandleStikSeriesSelectStyle}}"
                                        />
 
             
 
        </telerik:RadCartesianChart>
Martin Ivanov
Telerik team
 answered on 26 Dec 2016
1 answer
129 views

I am working for some XXX Client, 
Here the problem related Rad Persistence Frame Work for UI Layout Persistence. 

Problem 1: If, I assigned Storage ID  to Grid Level it’s not properly working (i.e. changes reflecting but, it’s removing the some of the styles (icons, hyperlinks etc.). 

If, I applied Storage ID Column Level working fine. 

Problem 2: There is a user Control in side the Rad Panes and it's docked left, where I have applied, even in similar way (Column Levels Storage ID) change Reflected but, widths are not exactly the way we persisted (i.e. it's floated in different manner) and also lost the Horizontal scrollbar.

Since, Codes/screenshots sharing prohibited from client, If, really don't understand the issue; Please kindly set-up web-ex session to Understand the same.

Thanks & Regards,

Chiranjeevi D

+91 - 9502433884

Hyderabad.

Martin Ivanov
Telerik team
 answered on 26 Dec 2016
3 answers
185 views
Hi Telerik,

 

Our grids containing a large amount of data are facing a performance issue, and I figured out that the use of converters to translate texts such as True/False to Yes/No is contributing to this.

So is there any other way to perform those translations without going through converters? Specially this True/False that appear on grouping and filtering.

thank you!

Dilyan Traykov
Telerik team
 answered on 23 Dec 2016
0 answers
140 views
HI,

 

I have a docking control with a single radpane in it.

I have a button which makes this rad pane active. and I want to do is that when the mouse goes outside the pane then the pane closes. But the problem is that if I move the mouse from center region to the header of the rad pane then the mouse leave event is considered which seems the radpane header is not part of the radpane?

How to achieve the correct behavior?

 

Thanks

 

Sherry

Sherry
Top achievements
Rank 1
 asked on 23 Dec 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
Expander
Slider
TileList
DataPager
PersistenceFramework
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?