Telerik Forums
UI for WPF Forum
1 answer
171 views
Hi,

I want to set a transition effect ( for example SlideAndZoomTransition or MotionBlurredZoomTransition) and the SlideDirection Attribute in my RadTransitionControl dinamically using the C# in the code behind.
this is what i have actually in the xaml:

 

 

 

<telerik:RadTransitionControl x:Name="transitionRight" Grid.RowSpan="3" Grid.Column ="1" >

 

<telerik:RadTransitionControl.Transition >

 

<effects:SlideAndZoomTransition SlideDirection ="RightToLeft"/>

 

</telerik:RadTransitionControl.Transition >

 

 

</telerik:RadTransitionControl >

 

 

 

 



i want to change the effect and slide direction attr. when a click a button.
its Posible to do this?

Gretings
Yana
Telerik team
 answered on 05 Apr 2011
3 answers
127 views
I get the following error at runtime
Cannot find type 'Telerik.Windows.Controls.RadTreeView'. The assembly used when compiling might be different than that used when loading and the type is missing.  Error at object 'System.Windows.Controls.Grid' in markup file

I am using the following Telerik dlls which I have added to my project references
Telerik.Windows.Controls - 2010.3.1110.35
Telerik.Windows.Controls.Data - 2010.3.1110.35
Telerik.Windows.Controls.Navigation - 2010.3.1110.35

Format Code Block(

 

 

<

 

UserControl x:Class="AOS.UI.Windows.Controls.Widget.acWidgets"

 

 

 

 

 

 

 

 

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

 

 

 

 

 

 

 

 

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

 

 

 

xmlns:VMCommanding="clr-namespace:VMCommanding"

 

 

 

 

 

 

 

 

xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

 

 

 

xmlns:vm="clr-namespace:AOS.UI.Windows.Controls.Widget.ViewModel"

 

 

 

 

 

 

 

 

Height="300" Width="300"

 

 

 

xmlns:Core="clr-namespace:AOS.UI.Windows.Controls.Core;assembly=AOS.UI.Windows.Controls.Core"

 

 

 

 

 

 

 

 

VMCommanding:CommandSinkBinding.CommandSink="{Binding}">

 

 

 

 

 

 

<UserControl.CommandBindings>

 

 

 

 

 

 

 

 

 

<VMCommanding:CommandSinkBinding Command="vm:WidgetViewModel.NavigateItemCommand" />

 

 

 

 

 

 

 

 

 

</UserControl.CommandBindings>

 

 

 

 

 

 

 

 

 

 

 

<UserControl.Resources>

 

 

 

 

 

 

 

 

 

<HierarchicalDataTemplate x:Key="NavigationTemplate"

 

 

 

ItemsSource="{Binding Path=WidgetList}">

 

 

 

 

 

 

 

 

 

<Grid Margin="1">

 

 

 

 

 

 

 

 

 

<Grid.ColumnDefinitions>

 

 

 

 

 

 

 

 

 

<ColumnDefinition Width="16" />

 

 

 

 

 

 

 

 

 

<ColumnDefinition Width="*" />

 

 

 

 

 

 

 

 

 

</Grid.ColumnDefinitions>

 

 

 

 

 

 

 

 

 

<Image Grid.Column="0" Source="{Binding Path=Icon_Name}"></Image>

 

 

 

 

 

 

 

 

 

<Core:CommandTextBlock Grid.Column="1" Margin="1"

 

 

 

Text="{Binding Path=Description}"

 

 

 

 

 

 

 

 

Command="vm:WidgetViewModel.NavigateItemCommand"

 

 

 

CommandParameter="{Binding}"/>

 

 

 

 

 

 

 

 

 

 

 

</Grid>

 

 

 

 

 

 

 

 

 

</HierarchicalDataTemplate>

 

 

 

 

 

 

 

 

 

</UserControl.Resources>

 

 

 

 

 

 

 

 

 

<Grid>

 

 

 

 

 

 

 

 

 

<Grid.RowDefinitions>

 

 

 

 

 

 

 

 

 

<RowDefinition Height="55" />

 

 

 

 

 

 

 

 

 

<RowDefinition Height="*" />

 

 

 

 

 

 

 

 

 

<RowDefinition Height="30" />

 

 

 

 

 

 

 

 

 

</Grid.RowDefinitions>

 

 

 

 

 

 

 

 

 

 

 

<telerik:RadTreeView Grid.Row="2" ItemsSource="{Binding WidgetList}" ItemTemplate="{StaticResource NavigationTemplate}" />

 

 

 

 

 

 

 

 

 

 

 

</Grid>

 

 

 

 

 

 

 

</

 

UserControl>

 

)
Petar Mladenov
Telerik team
 answered on 05 Apr 2011
1 answer
246 views
Hi,

My data hierarchy has a single root node. It is always single and always the same.
Is it possible just to hide it and show only items starting from the second level?

Testrash.
Petar Mladenov
Telerik team
 answered on 05 Apr 2011
2 answers
123 views
As mentioned in a previous post I have a hierarchical gridview. On the child gridview I'm using the following binding to propogate selecteditem back up to the parent:
SelectedItem="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=telerik:RadGridView, AncestorLevel=1}, Path=SelectedItem, Mode=TwoWay}"

This seems to work in almost every case, except when I click on the first row in one of the child gridviews. For some reason this doesn't seem to change the SelectedItem as I would expect.
Andrew
Top achievements
Rank 1
 answered on 05 Apr 2011
5 answers
280 views
Using a hierarchy view similar to the Custom Hierarchy demo, I want to allow the user to select only a single row of data (regardless of what tier that data is at). Further, I want to be able to bind to the currently selected row. I saw the demo on how to do this with a single-tier gridview which seems to get me halfway there - I just need to further extend that to the children as well.
Andrew
Top achievements
Rank 1
 answered on 05 Apr 2011
1 answer
607 views
Hi at all .
 
I am working with Wpf RadGridWiew and would like to save data to database with a MVVM command where i receive my modified item placed in my VIEWMODEL automatically every time that i change one row of data.

How can i do so ?

Best regards

Maya
Telerik team
 answered on 05 Apr 2011
3 answers
276 views
Hi,

In your WPF GridView demo, First Look, if you expand a few rows, then choose a tab other than the first, when you scroll the GridView so that the row goes out of view and then you scroll it to reappear, the tab changes to the first one and there is a noticeable delay and jump of the scroll thumb.

I was creating a very similar arrangement and I'd like to know if there's a way to stop this behavior so that the selected tab remains constant while scrolling.

Thanks,

SP
Petar Mladenov
Telerik team
 answered on 05 Apr 2011
1 answer
107 views
Hi, I am using the tileview control that will bound to items at runtime.
When the tileview contains explicit tileitems like  shown below I am able to maximize / minimize the tiles and also have a scrool bar as expected.

<telerik:RadTileView Name="radTileView1" MinimizedRowHeight="200" MinimizedColumnWidth ="200" >

 

 

<telerik:RadTileViewItem></telerik:RadTileViewItem>

 

 

 

<telerik:RadTileViewItem></telerik:RadTileViewItem>

 

 

 

<telerik:RadTileViewItem></telerik:RadTileViewItem>

 

 

 

<telerik:RadTileViewItem></telerik:RadTileViewItem>

 

 

 

<telerik:RadTileViewItem></telerik:RadTileViewItem>

 

 

 

<telerik:RadTileViewItem></telerik:RadTileViewItem>

 

 

 

</telerik:RadTileView>

However , when I bind the tileview to using itemsource to a List of items like shown below, I am unable to maximize, minimize the tiles. What am I doing wrong ?

 

 

 

 

<telerik:RadTileView Name="radTileView1" ItemsSource="{Binding}"

 

 

 

 

MinimizedRowHeight="200" MinimizedColumnWidth ="200" >

 

 

 

 

 

</telerik:RadTileView>

Note: The user control that houses the tileview control has it's data context set to the list .The tileview does show the correct number of tiles corresponding to the number of items in the list, but does not let me maximize or minimize.

 

Zarko
Telerik team
 answered on 05 Apr 2011
2 answers
107 views
I develop some application and use RadRibbonbar with RadRibbonWindow.

I add RadDocking Window to the application.
It is okay in Windows 7's Aero Theme,
but if I change the theme to Windows classic theme, the application is just crushed..

it doesn't have any problem when I use RadDocking window and Default WPF Window together,
but with RadRibbonWindow, it happens.

I guess it cause using RadDocking and RadRibbonWindow together in Windows7's Classic Theme..
Is there any solution to resovle that?? Please help.
sangyun
Top achievements
Rank 1
 answered on 05 Apr 2011
2 answers
54 views
Urgent.... My client has a bug in production enviroment and he can
not do his work. This feature is important and I do not have any
workarround

 I am trying to draw something with splecialslot  style . But the
DataContext of highlightitem is changing incorrectly, and I can not
control the correct positioning of specific images with  databinding

<ctr:SpecialSlotStyleSelector x:Key="
SpecialSlotStyleSelector">
       <ctr:SpecialSlotStyleSelector.MarcaStyle>
           <Style TargetType="telerik:HighlightItem">
               <Setter Property="Panel.ZIndex" Value="20" />
               <Setter
Property="bv:HackIsHitTestVisible.IsHitTestVisible" Value="true"/>
               <Setter Property="Template">
                   <Setter.Value>
                       <ControlTemplate>
                           <Grid >
                               <Border  IsHitTestVisible="False"
Background="White" Opacity="0.25" >

                               </Border>
                               <Grid IsHitTestVisible="True"
telerik:RadDragAndDropManager.AllowDrag="True"
Background="Transparent" x:Name="root" HorizontalAlignment="Center">
                                   <Grid.InputBindings>
                                       <MouseBinding
MouseAction="LeftDoubleClick" CommandParameter="{Binding
Path=Marcador}" Command="app:AppCommands.ShowMarkEditVw"/>
                                   </Grid.InputBindings>
                                   <Grid.ColumnDefinitions>
                                       <ColumnDefinition
Width="auto"></ColumnDefinition>
                                   </Grid.ColumnDefinitions>
                                   <Image Margin="0,0,0,0"
Source="{Binding Imagem, Converter={StaticResource imageConverter}}"/>

                                   <telerik:RadButton Grid.Column="1"
x:Name="DeleteButton" Opacity="1" Visibility="Collapsed"
                                                                               CommandParameter="{Binding Path=Marcador.ID_ViaturasMarcadores}"
                                                                               Command="local:AppCommands.RemoveMark"
                                                                               HorizontalAlignment="Right" Height="11" Margin="1,1,-11,1" Padding="0"
                                                                               VerticalAlignment="Top" Width="11">
                                       <telerik:StyleManager.Theme>
                                           <telerik:Expression_DarkTheme />
                                       </telerik:StyleManager.Theme>
                                       <Path Data="M0,0L5,5 M5,0L0,5"
Stroke="#FFDDDDDD" />
                                   </telerik:RadButton>


                               </Grid>
                           </Grid>

                           <ControlTemplate.Triggers>
                               <Trigger Property="IsMouseOver"
Value="true" SourceName="root">
                                   <Setter Property="Visibility"
Value="Visible" TargetName="DeleteButton" />

                               </Trigger>
                           </ControlTemplate.Triggers>
                       </ControlTemplate>
                   </Setter.Value>
               </Setter>
           </Style>
       </ctr:SpecialSlotStyleSelector.MarcaStyle>
   </ctr:SpecialSlotStyleSelector>
Mário
Top achievements
Rank 1
 answered on 05 Apr 2011
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?