Telerik Forums
UI for WPF Forum
1 answer
63 views

I tried to define two resources groups in TimelineViewDefinition. it is similar like TVs and Programmes in sample. But it give a error message said:  cannot derive from sealed type 'TimelineViewDefinition' 

 

Stefan
Telerik team
 answered on 15 Mar 2018
2 answers
114 views
Is there a way to detect to which TileGroup the Tile has moved to?
Dilyan Traykov
Telerik team
 answered on 15 Mar 2018
8 answers
167 views

Just bought the latest version of UI for WPF and can't install it. Receive the following error:

'VS2017PROFESSIONALDIR' is not a valid short file name.

I only have VS 2017 Community Edition installed.

Nikolay Mishev
Telerik team
 answered on 15 Mar 2018
1 answer
91 views

Hello,

Test done with the Office2013 theme.

If I click on the bottom tool bar of the control, outside of the navigation controls, the map moves as if I click on the map!

Regards

Dilyan Traykov
Telerik team
 answered on 15 Mar 2018
1 answer
87 views

Hello,

Here is the display when using the Office2013 theme.

Regards

Dilyan Traykov
Telerik team
 answered on 15 Mar 2018
2 answers
567 views

I am converting a .NET 1.1 Windows Form (mdi) based application to a WPF which is using PRISM as its MVVM framework.  

To simulate the mdi behavior, the application needs the ability to open multiple tabs for same view.  For example, I have a view displays the person’s name, address, phone, etc.

I used your CustomTabControlRegionAdapter_WPF project as guidance for  creating the region adapter for the RadTabControl.  This seemed to work until the TabItem view contains another TabsControl.  To ensure it wasn’t something specific with my implementation, I reproduced the behavior in your sample project.

In the TabItemHomeView.xaml , I added the another TabControl:

<TextBlock Text="This is the Home tab content" /><br><telerik:RadTabControl><br><telerik:RadTabItem Header="Tab 1"></telerik:RadTabItem><br>       <telerik:RadTabItem Header="Tab 2"></telerik:RadTabItem><br>       <telerik:RadTabItem Header="Tab 3"></telerik:RadTabItem><br></telerik:RadTabControl>


When the project runs, it  throws an exception on line 215 of the RadTabControlRegionSyncBehavors.cs:  “The region does not contain the specified view.”  Parameter name: view;

Any additional guidance would be appreciated.

Thanks

Petar Mladenov
Telerik team
 answered on 15 Mar 2018
3 answers
190 views

Hey guys,

I have a RadGridView in the UI of my application and bind it to a VirtualQueryableCollectionView shown in the example:
https://docs.telerik.com/devtools/wpf/consuming-data/using-data-virtualization
That works fine so far.

Since I have a client/server architecture, it may happen that the server updates the database table collection is "looking" on.

Let's say there are 41 entries in the table after the UI started. Then the server adds one entry to the database. Afterwards the server notifies the client and the client executes "view.Refresh();".

Due to sorting the new entry may appear in the UI BUT the VirtualItemsCount remains 41.

I cannot find any method that allows me to refresh/update the underlying collection so that the collection is synchronized to the database.

Is it possible to achive this behavior or do I have to recreate the VirtualQueryableCollectionView with "view = new VirtualQueryableCollectionView (query);" on each refresh?

 

I appreciate any feedback :)

Dilyan Traykov
Telerik team
 answered on 15 Mar 2018
1 answer
98 views

Is it possible to set the Positions property using a style?

Here's mine:

<Style x:Key="myStyle" TargetType="telerik:NumericIndicator" BasedOn="{StaticResource {x:Type telerik:NumericIndicator}}">
    <Setter Property="telerik:ScaleObject.Location" Value="Inside"/>
    <Setter Property="telerik:ScaleObject.RelativeX" Value="0.225"/>
    <Setter Property="telerik:ScaleObject.RelativeY" Value="0.4"/>
    <Setter Property="telerik:ScaleObject.RelativeHeight" Value="0.4*"/>
    <Setter Property="telerik:ScaleObject.RelativeWidth" Value="1.1*"/>
    <Setter Property="Foreground" Value="#FFCED2E4"/>  
    <Setter Property="Format" Value="{}{0:F1}"/>
    <Setter Property="Positions">
        <Setter.Value>
            <telerik:NumberPositionCollection>
                <telerik:FontNumberPosition CornerRadius="15,0,0,15" />
                <telerik:FontNumberPosition/>
                <telerik:FontNumberPosition/>
                <telerik:FontNumberPosition/>
                <telerik:FontNumberPosition/>
                <telerik:FontNumberPosition/>
                <telerik:FontNumberPosition CornerRadius="0,15,15,0"/>
            </telerik:NumberPositionCollection>
        </Setter.Value>
    </Setter>
</Style>

 

Doesn't seem to work. The NumericIndicator is aligned ok (I can see the rectangle positioned correctly in VS designer) but there are no visible NumberPosition objects.

Properties window shows that the Positions property value is an empty collection, and the little rectangle (after the "..." button) is gray. I.e., not indicating that the Positions property is bound to anything.

Vladimir Stoyanov
Telerik team
 answered on 14 Mar 2018
1 answer
521 views

Hi,

I am using radgridview in my wpf application.When I drag and drop a column to the group panel, the sorting of groups is not done numerically as it is a string field.

I want the grouped data to be sorted numerically.

Any help would be really appreciated.

Dilyan Traykov
Telerik team
 answered on 14 Mar 2018
3 answers
130 views
Hello, I'm trying to style the Row Details, and I'm following the instructions on the help here: http://www.telerik.com/help/wpf/gridview-styling-row-details.html
I'm not seeing the properties shown in the help file. I should see ControlOuterBorder, ControlInnerBorder, etc.. according to the help. I'm using Blend for VS 2013 Do you have a video, or a sample project that does this? Any help will be greatly appreciated .
Thanks,
Scott

Here's the XAML I get.
<Style x:Key="RowDetailsStyleCustom" TargetType="{x:Type telerik:DetailsPresenter}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type telerik:DetailsPresenter}">
<Border x:Name="DetailsBorder" BorderBrush="#FF848484" BorderThickness="0,1">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="DetailsStates">
<VisualState x:Name="DetailsVisible">
<Storyboard>
<ObjectAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DetailsBorder">
<DiscreteObjectKeyFrame KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="DetailsCollapsed"/>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}">
<ContentPresenter x:Name="PART_ContentPresenter" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
</Border>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
<Setter Property="Visibility" Value="Collapsed"/>
<Setter Property="IsTabStop" Value="False"/>
<Setter Property="Background">
<Setter.Value>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FFC2C2C2"/>
<GradientStop Color="#FFF0F0F0" Offset="0.3"/>
</LinearGradientBrush>
</Setter.Value>
</Setter>
<Setter Property="BorderBrush" Value="White"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="Padding" Value="0"/>
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
<Setter Property="SnapsToDevicePixels" Value="True"/>
</Style>
</Window.Resources>



Stefan
Telerik team
 answered on 14 Mar 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
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?