Telerik Forums
UI for WPF Forum
3 answers
136 views

Hi. 

I had Page with RadRichTextBox like word format.

It almost same with default telerik word project.

I want RadRichTextBox filled in Grid's RowDefinition(1), could resize.

Please see attched files. How can I fill it to row ?

sorry for so basically.

thanks.

Tanya
Telerik team
 answered on 08 Jun 2018
3 answers
89 views

Nothing happens if you try to change order of items in grid grouping panel by drag and drop. However it worked in version 2015.

Any idea? Is that bug? I could not find any solution on forum too.

Thanks for any hints!


Ivan Ivanov
Telerik team
 answered on 08 Jun 2018
1 answer
172 views

Hi all,

we have a problem with tracking buttons in our application after changing library (Nevron to Telerik).

Previously we did use (Nevron) in our WinForms application but now we are using RadButton (Telerik).

We had:
public partial class
{}

after the change, we have:
public partial class RadButton
{}

That was only changed in our code.

For automatically tests we are using Ranorex 8. After this change, we can not use this same test which we created before.

Is any solution how we do not need to change all Ranorex tests?

 

before in Ranorex was: "button[@controlname='NextButton']"

after: "container[@controlname='NextButton']

Please see attachments:

Thank you for any solution.

Br,

Pawel

Ralitsa
Telerik team
 answered on 08 Jun 2018
1 answer
162 views
I use Office_Black theme in my RadGridView. Everything is good except the header border is bold(wider) than the row borders. It seems its thickness is more than 2 or 3 times than the row borders. How to modify it?
Vladimir Stoyanov
Telerik team
 answered on 07 Jun 2018
1 answer
317 views
How do Format Date Column in Edit Mode of the grid. I am using the WPF controls. I have to display the date values in 'dd/MM/yyyy' format in edit mode. I see there is no EditorRequiredEvent in case of WPF controls.So how do I change the format in these case?
My problem is when I click on the cell, the RadDateTimePicker considers the date as MM/dd/yyyy and it displays empty value. For example 13/05/2018 will show empty because 13 is not a valid month. So how to change this so that the it shows the required date format in Edit mode? Please help
Stefan
Telerik team
 answered on 07 Jun 2018
2 answers
234 views

I would like to be able to select a number of rows in my grid.  Then I would like to select one of the columns in that set and change the value for all the rows simultaneously.  Is that doable?  Are there any samples I can follow?

 

Thanks!

Brad.

Brad
Top achievements
Rank 1
 answered on 07 Jun 2018
2 answers
293 views

Hello,

 

I'm developing an installation wizard, and i have a resource for radbuttons.

 

Everything seems ok upon creation, but when i put the mouse over the button or i press it i get the following error:

 

System.Windows.Data Error: 40 : BindingExpression path error: '(MaterialControls:MaterialAssist.MouseOverBrush)' property not found on 'object' ''RadButton' (Name='LoginButton')'. BindingExpression:Path=(MaterialControls:MaterialAssist.MouseOverBrush); DataItem='RadButton' (Name='LoginButton'); target element is 'Border' (Name='BorderVisual'); target property is 'Background' (type 'Brush')

 

I have no idea what is wrong.

 

Code for button in wizard:

<telerik:RadButton x:Name="LoginButton"
                                       Margin="0 180 0 35"
                                       HorizontalAlignment="Center" 
                                       Content="Submit"                     
                                       Height="40" Width="105"                               
                                       VerticalAlignment="Bottom"
                                       Click="LoginButton_Click"
                                       MouseEnter="LoginButton_MouseEnter"
                                       MouseLeave="LoginButton_MouseLeave"
                                       Style="{DynamicResource TestButton}"
                                       CommandParameter="{Binding}"/>

 

code

<Style x:Key="TestButton" TargetType="{x:Type telerik:RadButton}">
        <Setter Property="MinWidth" Value="70"/>
        <Setter Property="Margin" Value="0,0,5,0"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Style.BasedOn>
            <Style TargetType="{x:Type telerik:RadButton}">
                <Setter Property="MaterialControls:MaterialAssist.MouseOverBrush" Value="{telerik:FluentResource ResourceKey={x:Static telerik:FluentResourceKey.MouseOverBrush}}"/>
                <Setter Property="MaterialControls:MaterialAssist.PressedBrush" Value="{telerik:FluentResource ResourceKey={x:Static telerik:FluentResourceKey.PressedBrush}}"/>
                <Setter Property="MaterialControls:MaterialAssist.FocusBrush" Value="{telerik:FluentResource ResourceKey={x:Static telerik:FluentResourceKey.AccentFocusedBrush}}"/>
                <Setter Property="FontFamily" Value="{telerik:FluentResource ResourceKey={x:Static telerik:FluentResourceKey.FontFamily}}"/>
                <Setter Property="FontSize" Value="{telerik:FluentResource ResourceKey={x:Static telerik:FluentResourceKey.FontSize}}"/>
                <Setter Property="Foreground" Value="{telerik:FluentResource ResourceKey={x:Static telerik:FluentResourceKey.MarkerBrush}}"/>
                <Setter Property="Background" Value="{telerik:FluentResource ResourceKey={x:Static telerik:FluentResourceKey.MainBrush}}"/>
                <Setter Property="BorderBrush" Value="{telerik:FluentResource ResourceKey={x:Static telerik:FluentResourceKey.MainBrush}}"/>
                <Setter Property="BorderThickness" Value="1"/>
                <Setter Property="Padding" Value="5"/>
                <Setter Property="CornerRadius" Value="{telerik:FluentResource ResourceKey={x:Static telerik:FluentResourceKey.CornerRadius}}"/>
                <Setter Property="SnapsToDevicePixels" Value="True"/>
                <Setter Property="UseLayoutRounding" Value="True"/>
                <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
                <Setter Property="HorizontalContentAlignment" Value="Center"/>
                <Setter Property="VerticalContentAlignment" Value="Center"/>
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate TargetType="{x:Type telerik:RadButton}">
                            <Grid>
                                <Border x:Name="BorderVisual" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="{TemplateBinding CornerRadius}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
                                <Border x:Name="FocusVisual" BorderBrush="{TemplateBinding MaterialControls:MaterialAssist.FocusBrush}" BorderThickness="{DynamicResource {x:Static telerik:FluentResourceKey.FocusThickness}}" CornerRadius="{TemplateBinding CornerRadius}" IsHitTestVisible="False" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Visibility="Collapsed"/>
                                <MaterialControls:FluentControl BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="{TemplateBinding CornerRadius}" HorizontalContentAlignment="Stretch" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalContentAlignment="Stretch">
                                    <ContentPresenter x:Name="Content" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" TextElement.Foreground="{TemplateBinding Foreground}" Focusable="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                </MaterialControls:FluentControl>
                            </Grid>
                            <ControlTemplate.Triggers>
                                <MultiTrigger>
                                    <MultiTrigger.Conditions>
                                        <Condition Property="IsBackgroundVisible" Value="False"/>
                                        <Condition Property="IsEnabled" Value="True"/>
                                        <Condition Property="IsMouseOver" Value="False"/>
                                    </MultiTrigger.Conditions>
                                    <Setter Property="Background" Value="Transparent"/>
                                    <Setter Property="BorderBrush" Value="Transparent"/>
                                </MultiTrigger>
                                <MultiTrigger>
                                    <MultiTrigger.Conditions>
                                        <Condition Property="IsEnabled" Value="True"/>
                                        <Condition Property="IsFocused" Value="True"/>
                                        <Condition Property="IsPressed" Value="False"/>
                                        <Condition Property="IsMouseOver" Value="False"/>
                                    </MultiTrigger.Conditions>
                                    <Setter Property="Visibility" TargetName="FocusVisual" Value="Visible"/>
                                </MultiTrigger>
                                <Trigger Property="IsMouseOver" Value="True">
                                    <Setter Property="Background" TargetName="BorderVisual" Value="{Binding (MaterialControls:MaterialAssist.MouseOverBrush), Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}"/>
                                    <Setter Property="BorderBrush" TargetName="BorderVisual" Value="{Binding (MaterialControls:MaterialAssist.MouseOverBrush), Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}"/>
                                </Trigger>
                                <Trigger Property="IsPressed" Value="True">
                                    <Setter Property="Background" TargetName="BorderVisual" Value="{Binding (MaterialControls:MaterialAssist.PressedBrush), Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}"/>
                                    <Setter Property="BorderBrush" TargetName="BorderVisual" Value="{Binding (MaterialControls:MaterialAssist.PressedBrush), Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}"/>
                                </Trigger>
                                <Trigger Property="IsEnabled" Value="False">
                                    <Setter Property="Opacity" TargetName="Content" Value="{telerik:FluentResource ResourceKey={x:Static telerik:FluentResourceKey.DisabledOpacity}}"/>
                                    <Setter Property="Background" Value="{telerik:FluentResource ResourceKey={x:Static telerik:FluentResourceKey.AlternativeBrush}}"/>
                                    <Setter Property="BorderBrush" Value="{telerik:FluentResource ResourceKey={x:Static telerik:FluentResourceKey.AlternativeBrush}}"/>
                                </Trigger>
                                <MultiTrigger>
                                    <MultiTrigger.Conditions>
                                        <Condition Property="IsEnabled" Value="False"/>
                                        <Condition Property="IsFocused" Value="True"/>
                                    </MultiTrigger.Conditions>
                                    <Setter Property="Visibility" TargetName="FocusVisual" Value="Collapsed"/>
                                </MultiTrigger>
                                <MultiTrigger>
                                    <MultiTrigger.Conditions>
                                        <Condition Property="IsEnabled" Value="False"/>
                                        <Condition Property="IsBackgroundVisible" Value="False"/>
                                    </MultiTrigger.Conditions>
                                    <Setter Property="Background" Value="Transparent"/>
                                    <Setter Property="BorderBrush" Value="Transparent"/>
                                </MultiTrigger>
                            </ControlTemplate.Triggers>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
            </Style>
        </Style.BasedOn>
    </Style>

Can someone please help me?

 

Regards

 

Ricardo
Top achievements
Rank 1
 answered on 06 Jun 2018
2 answers
73 views

Hello

Im using OpenStreetMap provider  and suddenly map is not loading correctly piece of map

Picture attached

thank you

Robert
Top achievements
Rank 1
 answered on 06 Jun 2018
1 answer
70 views

Hi,

I've been having trouble with shape's connectors. While you drag the connection and try to créate a new connection in another's shape connector it is really hard to hover over the connector and see it change its color to blue "créate connection". 

Is there any way we can change how quickly or how big is the connectors área in order to make this easier for the user?

 

Here you can se a video of what ive said

https://www.dropbox.com/s/9ww0r85ype60p51/x112%20-%20Pall-E%2004_06_2018%209_24_01.mp4?dl=0

Thanks in advance!

Dinko | Tech Support Engineer
Telerik team
 answered on 06 Jun 2018
1 answer
149 views

Good time of day.

We have a problem. When we creating RadDocument via RadRichTextBox, it's look great, but when we trying to print it, bottom margin is not great at all, it's at least three times greater, than on print preview. Even if we make PageMargin and FooterBottomMargin equals to 0.

In attached files you can see what we have in RichTextBox and in printed version...

VITALY
Top achievements
Rank 1
 answered on 05 Jun 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
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?