Telerik Forums
UI for WPF Forum
5 answers
182 views

Hi, I want to change my GridViewCell FocusBrush, I try this but don't work:

 

    <Style TargetType="{x:Type telerik:GridViewCell}" BasedOn="{StaticResource GridViewCellStyle}">
        <Setter Property="materialControls:MaterialAssist.PressedBrush" Value="{StaticResource BaseColor}"/>
        <Setter Property="materialControls:MaterialAssist.FocusBrush" Value="{StaticResource BaseColor}"/>
        <Setter Property="materialControls:MaterialAssist.MouseOverBrush" Value="{StaticResource BaseColor}"/>
    </Style>

 

I want to change Line's color bottom of cell

 

 

Mahdi
Top achievements
Rank 1
 answered on 25 Nov 2019
3 answers
271 views
I want to reorder the  the items in RadListbox thru DragDropManager. Any example?
Dilyan Traykov
Telerik team
 answered on 21 Nov 2019
1 answer
223 views

WPF RadGrid ClipboardCopyMode Row and Cell 

Can we differentiate when we copy entire row or a single cell?

 

For Row selection we need row values with headers. Sp using these properties we can include headers too ClipboardCopyMode="All" CopyingCellClipboardContent="

 

For cell copying can we ignore the header? 

 

Dilyan Traykov
Telerik team
 answered on 21 Nov 2019
1 answer
146 views

Hi,

    I created a project that wanted to implement custom connections and implemented mvvm. But I ran into a problem, the connection line position changed when I reopened the Diagram after saving. Figure 1 is before saving, and Figure 2 is opened after saving. I set the SourceConnectorPosition and TargetConnectorPosition properties as follows:
<Style TargetType="{x:Type telerik:RadDiagramConnection}" x:Key="CommonDiagramConnectionStyleBase" BasedOn="{StaticResource RadDiagramConnectionStyle}">
        <Setter Property="SourceCapType" Value="{Binding SourceCapType, Mode=OneWayToSource}" />
        <Setter Property="TargetCapType" Value="{Binding TargetCapType, Mode=OneWayToSource}" />
        <Setter Property="Visibility" Value="{Binding Visibility, Mode=OneWayToSource}" />
        <Setter Property="Position" Value="{Binding Position, Mode=OneWayToSource}" />
        <Setter Property="IsSelected" Value="{Binding IsSelected, Mode=OneWayToSource}" />
        <Setter Property="SourceConnectorPosition" Value="{Binding SourceConnectorPosition, Mode=TwoWay}" />
        <Setter Property="StartPoint" Value="{Binding StartPoint, Mode=TwoWay}" />
        <Setter Property="TargetConnectorPosition" Value="{Binding TargetConnectorPosition, Mode=TwoWay}" />
        <Setter Property="EndPoint" Value="{Binding EndPoint, Mode=TwoWay}" />
        <Setter Property="ZIndex" Value="{Binding ZIndex, Mode=OneWayToSource}" />
        <!--<Setter Property="Background" Value="{StaticResource DiagramShape_Connection_Background}" />
        <Setter Property="Stroke" Value="{StaticResource DiagramShape_Connection_BorderBrush}" />
        <Setter Property="StrokeThickness" Value="1" />
        <Setter Property="ZIndex" Value="{StaticResource connectionZIndex}" />
        <Setter Property="HorizontalContentAlignment" Value="Center" />
        <Setter Property="VerticalContentAlignment" Value="Center" />
        <c:If Condition="WPF">
            <Setter Property="FocusVisualStyle" Value="{x:Null}" />
        </c:If>-->
    </Style>


Dinko | Tech Support Engineer
Telerik team
 answered on 21 Nov 2019
1 answer
172 views

Hello,

For other controls, there is an page in the help file for the localization of the control, listing the resource keys.

There is no such information for RadWindow.

Can you give us the resource keys?

Dimitar Dinev
Telerik team
 answered on 20 Nov 2019
9 answers
190 views

Hi,

I'm binding the ItemSource with ListCollectionView ....I noted that changing the selection on TreeListView the CurrentItem is not updated. Also the MoveCurrentTo method doesn't work. I use the some procedure with RadGridView and works fine!

How I can resolve this issue?

 

Dilyan Traykov
Telerik team
 answered on 20 Nov 2019
3 answers
389 views

Hello, 

 

When a worksheet shows, not all columns or rows would display. But clicking on column header, like "A", "B", or row number "1","2", etc. is going to select the whole row or column. Is there a way to disable this kind of row and column selection? Or, what's the event of clicking on the column header and row number? 

Thanks.

Martin
Telerik team
 answered on 20 Nov 2019
1 answer
176 views

I am having an issue using the .NET Core components within VS 2019 Professional. It is the latest build of the components.

When I am trying to use the editor the XAML designer is throwing an unhandled exception 'System.InvalidOperationException - The contained "ItemCollection" is not an ancestor of "Window".

I have created a youtube window showing the issue.

https://www.youtube.com/watch?v=fm1isYifGzY&feature=youtu.be

Many thanks,

Rob

 

Vladimir Stoyanov
Telerik team
 answered on 20 Nov 2019
3 answers
164 views

Hi,

I need to style the FontPropertiesDialog.

I want to remove the theme, set the background and foreground color.

Where do I find the template of this dialog?

 

regards

Dietmar

Peshito
Telerik team
 answered on 20 Nov 2019
2 answers
568 views

The article about using generic sort descriptor for custom sorting is super unclear

https://docs.telerik.com/devtools/wpf/controls/radgridview/sorting/how-to/generic-descriptor

 

The SortDescriptor<Club, int> returns a simple number that is just the StadiumCapacity of the club, but how do you sort on more complex data using the SortDescriptor or ColumnSortDescriptor? E.g. using a comparison function?

 

We have one column that we want to override the standard sorting, but it's part of a multi-column sorting and we have to be able to load the initial sorting state, so the example of just sorting the item source in the sorting event and then just canceling the even is not sufficient.

 

We also tried deriving from the ColumnSortDescriptor and overriding CreateSortKeyExpression, but it is not clear how to use the parameter expression, or build on the SortKeyExpression created by the base.

Dilyan Traykov
Telerik team
 answered on 19 Nov 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
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
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?