Telerik Forums
UI for WPF Forum
2 answers
180 views
Hello, I have a RadTileView and wondered how to change the DataTemplate for the RadTilveView.ItemTemplate (header) based on the state or configuration of the RadTileView?

Example:
<!-- TileView.HeaderTemplate -->
<DataTemplate x:Key="MinimizedHeaderTemplate">
    <StackPanel Orientation="Horizontal">
        <TextBlock Text="{Binding PatientName}" Width="125" Margin="14,0,0,0" />
    </StackPanel>
</DataTemplate>
  
<DataTemplate x:Key="MaximizedHeaderTemplate">
    <StackPanel Orientation="Horizontal">
        <TextBlock Text="{Binding PatientName}" Width="125" Margin="14,0,0,0" />
        <TextBlock Text="{Binding Age}" Width="30" Margin="14,0,0,0" />
        <TextBlock Text="{Binding Protocol}" Width="100" Margin="14,0,0,0" />
        <TextBlock Text="{Binding Actions}" Width="65" Margin="14,0,0,0" />
        <TextBlock Text="{Binding RegTime}" Width="75" Margin="14,0,0,0" />
    </StackPanel>
</DataTemplate>

Is there something I can bind the ItemTemplate to to evaluate the state of the currently selected item?
Tina Stancheva
Telerik team
 answered on 13 Apr 2011
1 answer
214 views
Hi,
I'm having a couple of problems with my touchscreen inputs.

First of all, carousel doesn't understand single touch as a mouse left button down. i can select an item with mouse but i can't do that by touching the item. I can't find the right event to handle.

Secondly, I'm trying to scroll carousel with touchscreen inputs. As you can see it in my code, there is a ScrollViewer and its isManupulationEnabled = true.

  <ScrollViewer Name="scrollGallery" Grid.Row="3"  VerticalAlignment="Top" Height="289" VerticalScrollBarVisibility="Hidden" HorizontalScrollBarVisibility="Visible" CanContentScroll="True" IsManipulationEnabled="True" ManipulationDelta="ScrollViewer_ManipulationDelta" ManipulationStarting="ScrollViewer_ManipulationStarting">
  <telerik:RadCarouselPanel   IsOpacityEnabled="True" IsScalingEnabled="True" IsSkewAngleYEnabled="True"   HorizontalAlignment="Left"   Height="289" Name="radCarousel"    Background="{x:Null}" Width="1013">
  </telerik:RadCarouselPanel>
</ScrollViewer>

However, it's scrolling too fast with the code below:
private void ScrollViewer_ManipulationDelta(object sender, ManipulationDeltaEventArgs e)
       {
        
               scrollGallery.ScrollToHorizontalOffset(scrollGallery.HorizontalOffset - (e.DeltaManipulation.Translation.X * 0.000001));
 
           if (e.IsInertial)
           {
               e.Complete();
           }          
           e.Handled = true;
 
            
       }
 
       private void ScrollViewer_ManipulationStarting(object sender, ManipulationStartingEventArgs e)
       {
           e.ManipulationContainer = this;
           e.Handled = true;
       }

Even i multiply e.DeltaManipulation.Translation.X with 0.000001, its still too fast and not smooth

I have tried RadCarousel(not panel) before this but no success with it too.

I have also tried radCarousel.LineLeft() and LineRight() methods but got the same effect.

How can i scroll it smoothly? How can i handle touch inputs as left mouse button down?

Thanks
Gokay
Maya
Telerik team
 answered on 13 Apr 2011
1 answer
125 views
Hi, i have a raddropdownbutton with content a Treeview.
I am able to customize the styles in the various states,
but not found a way to customize the status of the button when the dropdown is open.
How can I do?

Regards


Tina Stancheva
Telerik team
 answered on 13 Apr 2011
3 answers
137 views
I'm doing a candlestick chart and the dates are overlapping when I do a short range (say a week). I'd like to rotate the labels 90 degrees. And because the date ranges are dynamic, I'd like the x axis to adapt so that it shows appropriate intervals, depending on the date range. unfortunately, I can't seem to do anything with the x axis. Example:

<telerik:ChartDefaultView>
    <telerik:ChartDefaultView.ChartArea>
        <telerik:ChartArea>
            <telerik:ChartArea.AxisX>
                <telerik:AxisX LayoutMode="Between" IsDateTime="True" LabelRotationAngle="90" StepLabelLevelHeight="40" />
            </telerik:ChartArea.AxisX> 
        </telerik:ChartArea>
    </telerik:ChartDefaultView.ChartArea>
</telerik:ChartDefaultView>

The label does not rotate.

I'd try to set this stuff in the designer, but whenever I make changes to the X Axis in the designer, it crashes the designer.
Missing User
 answered on 13 Apr 2011
2 answers
64 views
How can I do to change the components of Telerik denominated in french.
Hamza
Top achievements
Rank 1
 answered on 13 Apr 2011
11 answers
202 views
Hello,
I'm pretty new to this so bare with me.

I'm able to databind my XML source to the tileview inside a grid. I can populate the contentTemplate with the right binding. The header populates the whole string..It works in a Listbox,Expanders, and treeviews etc,but I can't get this work.  Any thoughts?
<Grid Height="376" Canvas.Left="60.637" Canvas.Top="119" Width="248" DataContext="{Binding Source={StaticResource Contact}}">
    <telerikNavigation:RadTileView ItemsSource="{Binding}" MinimizedColumnWidth="100"  Margin="0,-38,-543.363,-132.5" HorizontalAlignment="Right" Width="622.363">
        <telerikNavigation:RadTileView.ContentTemplate>
              
            <DataTemplate x:Name="TileDAta">
                <TextBlock x:Name="reText2" FontSize="18" Foreground="Black" Text="{Binding XPath=ContactName}"/>
            </DataTemplate>
        </telerikNavigation:RadTileView.ContentTemplate>
      
    </telerikNavigation:RadTileView>
</Grid>
Zarko
Telerik team
 answered on 13 Apr 2011
1 answer
114 views
Hello,

I am using ScheduleView for one of my projects. I want to reduce/Add some of the controls in Recurrence dialog window. There is a way to edit the Recurrence dialog window style of it in Scheduler. How to do the same in Scheduleview? If I follow the same procedure, I am not getting any stryle change.

Please Do help.
Thanks in advance,
Dheena
Konstantina
Telerik team
 answered on 13 Apr 2011
1 answer
131 views
Hello,

I am using ScheduleView for one of my projects. I want to reduce/Add some of the controls in Recurrence dialog window. There is a way to edit the Recurrence dialog window style of it in Scheduler. How to do the same in Scheduleview? If I follow the same procedure, I am not getting any stryle change.

Please Do help.
Thanks in advance,
Dheena
Konstantina
Telerik team
 answered on 13 Apr 2011
2 answers
114 views
We are testing an app which uses RadDocking under the Citrix XenApp 6.0 environment. When using the Seamless Display mode, the large transparent docking window comes through as a solid colored (non-transparent) window.

Is anyone able to use an app with RadDocking in a Citrix environment?

I'm hoping for a Citrix server regkey or other setting to make the windows come through properly.

John
John Schroedl
Top achievements
Rank 2
 answered on 13 Apr 2011
5 answers
466 views
Hello,

We are using RadTileView in our WPF application. I need to customize the RadTileView in the following two ways.

1. Reduce the header height. It currently seems having lots of margin/padding around the header text and we want to reduce them.

2. Add a delete button ("X") on the left side of the header text (in the maximumized view only). When the button is clicked,
we will remove that item from datasource.

Can you please let me know how to implement above two things?

Thanks!
Zarko
Telerik team
 answered on 13 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?