Telerik Forums
UI for WPF Forum
6 answers
370 views
draw pencil tool

# Mouse Action :  Left,Right,Down,.... (loop)  - OK
# Mouse Action : Left,Right,...(loop) -  bug? :    problem line

to show attach file(line.jpg) for detail information
Martin Ivanov
Telerik team
 answered on 30 Aug 2018
1 answer
241 views

The behavior of the lines on the treeview and treelistview are not what we would like.If you see the attachment, I have drawn a red line where I want the tree line of the parent to continue to end bottom of the last descendent, NOT end at the last direct child. This would be the case at any level not just the root. Is there any way to do that?

 

Also applies to treelistview. I'd just rather not post the exact same thing there as well.

 

Thanks.

Vladimir Stoyanov
Telerik team
 answered on 29 Aug 2018
1 answer
280 views
hello I can not find ViewCellFormatting in radgridview in wpf !
Vladimir Stoyanov
Telerik team
 answered on 29 Aug 2018
1 answer
436 views
I have a RadTimeSpanPicker with some Binding validation implemented. I want to immediately show the validation tooltip if a binding validation error occurs (see attached screenshot).  Currently, the tooltip only shows when the mouse hovers over the upper right corner.  However, this corner is so small it's difficult to position the mouse over it to see the error message.  How do I immediately display this tooltip when the error is detected?
Vladimir Stoyanov
Telerik team
 answered on 29 Aug 2018
4 answers
438 views

Hi,

 

I'm following the example of RestoredTilesToSpanMultipleRowsAndColumns_WPF.

 

I want to define dynamic rows/columns. I tried the following:

<Style x:Key="tileViewPanel" TargetType="telerik:RadTileView">
    <Style.Resources>
        <System:Object x:Key="RowsCount"/>
        <System:Object x:Key="ColumnsCount"/>
    </Style.Resources>
    <Setter Property="ItemsPanel">
        <Setter.Value>
            <ItemsPanelTemplate>
                <local:Multicolumns RowsCount="{DynamicResource RowsCount}" ColumnsCount="{DynamicResource ColumnsCount}"/>
            </ItemsPanelTemplate>
        </Setter.Value>
    </Setter>
</Style>

 

Error:

System.Windows.Markup.XamlParseException: 'A 'DynamicResourceExtension' cannot be set on the 'RowsCount' property of type 'TemplateForm'. A 'DynamicResourceExtension' can only be set on a DependencyProperty of a DependencyObject.'

 

I also tried:

 

<Style x:Key="tileViewPanel" TargetType="telerik:RadTileView">
            <Style.Resources>
                <System:Object x:Key="RowsCount"/>
                <System:Object x:Key="ColumnsCount"/>
            </Style.Resources>
            <Setter Property="ItemsPanel">
                <Setter.Value>
                    <ItemsPanelTemplate>
                        <local:Multicolumns RowsCount="{Binding RowsCount}" ColumnsCount="{Binding ColumnsCount}"/>
                    </ItemsPanelTemplate>
                </Setter.Value>
            </Setter>
        </Style>

Error:

System.Windows.Markup.XamlParseException: 'A 'Binding' cannot be set on the 'RowsCount' property of type 'TemplateForm'. A 'Binding' can only be set on a DependencyProperty of a DependencyObject.'

Does anyone knows how i can define dynamic rows/columns for this example?

 

Regards

 

Ricardo
Top achievements
Rank 1
 answered on 28 Aug 2018
23 answers
2.8K+ views
Hi,
I'm following the example provided by telerik in order to develop an application with a radtileview. However, i need to make the items dynamically form the code behind, so my question is how do i define the row and column for each item in the code behind, i.e., similar to what is done in the following example:

     <telerik:RadTileView x:Name="Form" MinimizedItemsPosition="Bottom"
                             MaximizeMode="Zero"
                             DragMode="Swap" PreservePositionWhenMaximized="True" Width="700"
                             RowsCount="{Binding Rows,Mode=TwoWay}"
                             ColumnsCount="{Binding Columns,Mode=TwoWay}">
                <telerik:RadTileView.ItemsPanel>
                    <ItemsPanelTemplate>
                        <local:TemplateForm RowsCount="10" ColumnsCount="4" />
                    </ItemsPanelTemplate>
                </telerik:RadTileView.ItemsPanel>
               <telerik:RadTileViewItem MinWidth="175" MinHeight="45"
                                         local:TileViewProperties.Row="0"
                                         local:TileViewProperties.Column="0"/>
</telerik:RadTileViewItem>
</telerik:RadTileView>

Can anyone help me?

Thanks
Ricardo
Top achievements
Rank 1
 answered on 28 Aug 2018
1 answer
150 views

Hi,

Is it possible to remove a tile from a TileList dynamically? I have tried the code below to remove all delected tiles when the del key is pressed but I get an exception calling Items.Remove()

        private void OnKeyDown(object sender, KeyEventArgs e)
        {
            if (e.Key == Key.Delete)
            {
                foreach (var item in tiledDashboardTileList.SelectedItems)
                {
                    tiledDashboardTileList.Items.Remove(item);
                }
                tiledDashboardTileList.SelectedItems.Clear();
                e.Handled = true;
            }
        }

Stefan
Telerik team
 answered on 28 Aug 2018
2 answers
265 views

Hi. I'm trying to create a constructor for create a shapes. I have a problem with extracting geometry from RadDiagram.  I need to get the geometry in string format from all the drawn elements. This topic has already been discussed here 2 years ago https://www.telerik.com/forums/geometry-to-xaml. Now I make it so that for each coordinate in the geometry I add a position, but for some reason there is a shift to the left and down. What could be the problem? For example i have geometry for picture 1:   

shape1: M0.5,0.5L111.5,0.5 111.5,74.5 0.5,74.5z , position: 300, 290

shape2: M0.5,0.5L111.5,0.5 111.5,74.5 0.5,74.5z, position: 360, 230

and geometry for picture 2: M300.5,290.5L411.5,290.5 411.5,364.5 300.5,364.5 M360.5,230.5L471.5,230.5 471.5,304.5 360.5,304.5

 

Svyatoslav
Top achievements
Rank 1
 answered on 28 Aug 2018
2 answers
132 views

Is it easily possible to allow column reordering, but then restrict columns within groups to only be reordered within that group?

Similarly, columns not in a group cannot be moved into a group - where both situations at the moment allow the group to be split into two groups of the same name each with a subset of the group's columns.

 

Thanks,
Maurice

Maurice
Top achievements
Rank 1
 answered on 28 Aug 2018
5 answers
226 views

When enabling PerMonitor DPI awareness for an application using RadDocking it only works correctly for the main monitor.
Our test environment is setup as follows:

- Windows 10 (1803; at least 1603 required)
- first monitor 1920x1080 @125%
- second monitor 1680x1050 @150%

On the first monitor the docking behaves as expected.
When moved to the second monitor some of the compasses are displayed at incorrect positions and react to mouse positions other than their screen position.
Please see attached video for more details.

Please let us know how to resolve issue with RadDocking - we require PerMonitor DPI awareness for our application.

Martin Ivanov
Telerik team
 answered on 24 Aug 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
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?