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

I have a similar issue : http://www.telerik.com/community/forums/wpf/gridview/hide-and-filtering-options.aspx#2946119
Filtering is working with this script .
But on using this script, we have a bug. On first click on the filter, the textbox is invisible.
Can you pls suggest a solution

Rigin
Rigin
Top achievements
Rank 1
 answered on 17 Jan 2014
2 answers
116 views

- Please see attached screenshot -


The toolbar on the right side of the screen (blue line above "toolbar" buttons) should always have the same height as the HeaderSelectedItem element of the OutlookBar on the left. So when a user switches his theme at runtime, the toolbars height should adjust with the new selected theme. For example "Office 2013" and "Windows 8" themes use different heights. I tried that with the following code where "MyOutlookBar" is the key of my RadOutlookBar:



<!-- ToolBar Area -->
<StackPanel Orientation="Horizontal" Height="{Binding ElementName=MyOutlookBar, Path=HeaderSelectedItem.Height}">
    <Image Source="{Binding ToolBarIcon}" Stretch="None" />
    <TextBlock Text="{Binding ToolBarTitle}" />
</StackPanel>




Sadly there is no "HeaderSelectedItem" property which I can refer to. How is that element accessible?







Johannes
Top achievements
Rank 1
 answered on 17 Jan 2014
13 answers
331 views
Hello,

When AutoGeneratePropertyDefinitions="true", how to use custom made templates for error handling on properties that where auto generated?
Custom editors for values and tooltips ?

Thank you,
Regards,
Branko
Ivan Ivanov
Telerik team
 answered on 17 Jan 2014
0 answers
134 views
Dear Telerik Team!

Can you please help me getting custom drag cue please? I searched everywhere but without success. This is my xaml:

<telerikControls:RadGridView Grid.ColumnSpan="2"  ...
                
                                    
           <telerikControls:RadGridView.Resources>
                <DataTemplate x:Key="DraggedItemTemplate">
                    <StackPanel Orientation="Horizontal" Margin="2">
                        <TextBlock Text="test" FontWeight="Bold" />
                    </StackPanel>
                </DataTemplate>
            </telerikControls:RadGridView.Resources>
 
            <planerView:RadGridViewDragDrop.DragVisualProvider>
                <!--<planerView:RadGridViewItemDragVisualProvider>                 
                </planerView:RadGridViewItemDragVisualProvider>-->
                <telerikDragDropBehaviors:ScreenshotDragVisualProvider></telerikDragDropBehaviors:ScreenshotDragVisualProvider>
            </planerView:RadGridViewDragDrop.DragVisualProvider>
 
        </telerikControls:RadGridView>

and that is my RadGridViewItemDragVisualProvider code:

public class RadGridViewItemDragVisualProvider : DependencyObject, IDragVisualProvider
    {
        public DataTemplate DraggedItemTemplate
        {
            get
            {
                return (DataTemplate)GetValue(DraggedItemTemplateProperty);
            }
            set
            {
                SetValue(DraggedItemTemplateProperty, value);
            }
        }
 
        public static readonly DependencyProperty DraggedItemTemplateProperty =
        DependencyProperty.Register("DraggedItemTemplate", typeof(DataTemplate), typeof(RadGridViewItemDragVisualProvider), new PropertyMetadata(null));
 
        public FrameworkElement CreateDragVisual(DragVisualProviderState state)
        {
            var visual = new DragVisual();
 
            visual.Content = state.DraggedItems.OfType<object>().FirstOrDefault();
            visual.ContentTemplate = this.DraggedItemTemplate;
 
            return visual;
        }
 
        public Point GetDragVisualOffset(DragVisualProviderState state)
        {
            return state.RelativeStartPoint;
        }
 
        public bool UseDefaultCursors { get; set; }
    }

But it doesn't work. DraggedItemTemplate is always null. I would be very grateful for any help in that matter.

Very best regards
Krzysztof Kaźmierczak

Krzysztof
Top achievements
Rank 1
 asked on 17 Jan 2014
4 answers
295 views
Hi,

I try to change the telerik theme at runtime following the thread about implicit theme. It's work well but for the treeView control I lost the background color of selected item when switching from one theme to another. This behavior occurs only if i set a ItemContainerStyle.

My style is declared like this :

<Style x:Key="FolderItemStyle" TargetType="{x:Type telerik:RadTreeViewItem}" BasedOn="{StaticResource RadTreeViewItemStyle}">

<Setter Property="Foreground" Value="Blue"/>

<Setter Property="FontStyle" Value="Normal"/>

</Style>


and my treeview is declare to use this style

<telerik:RadTreeView Grid.Row="1" Grid.Column="0" ItemContainerStyle="{StaticResource FolderItemStyle}">


The first time, when the MergedDictionaries is built, all work fine but when i clear and load new theme at runtime the background color of selected item disappear, if i re-switch to original theme it's working again.

A sample project can be foundhere : https://drive.google.com/file/d/0B6ihaOKSuZdBeVdNVnlqVFVXWkk/edit?usp=sharing.

Thanks
luc
Top achievements
Rank 1
 answered on 17 Jan 2014
1 answer
64 views

I've got a simple chart with 2 Bar3DSeriesDefinitions and 2 y axes.  I set the axis names appropriately & both series draw, but the additional y axis is not visible.  Any clue why?  The XAML in the designer shows the second y axis at design time, but that is before the series are added at run time & so the axes are shown as 2D.


Thanks - Mitch

Petar Marchev
Telerik team
 answered on 17 Jan 2014
2 answers
128 views
Hi,
is it possible to have a book as combination of my custom defined pages(cover page and last page) and in between to have pdf content (like in pdf radbook integration example).
best regards
Nebojsa Danilovic 
Nebojsa
Top achievements
Rank 1
 answered on 16 Jan 2014
6 answers
439 views

Hi,


I'd like to have fixed y/x-axis 0 to 1. Values above and below don't make sense.

There are values exactly at (0,0.5) and by using a point series they are only partially within the plotable area

and become very hard to select. Is there a margin/padding property I can set?

Changing the axis minimum helps, but then my axis annotation don't make sense anymore.



Markus

Markus
Top achievements
Rank 1
 answered on 16 Jan 2014
3 answers
274 views
Hi ya,

How can I load my RadGridView in my XAML view showing one row selected by default?

Thanks in advance for any hint or input related to!!

I mean,how to set focus on a particular row in my RadGridView?

Enric
Hristo
Telerik team
 answered on 16 Jan 2014
1 answer
323 views
Hi,

I have a usercontrol chart imbedded in a dock panel.

Everytime I resize the main window, the panel, and hence chart control resizes as well. This causes the chart's scale to change. How do I disable this feature?

Than is, I would like the chart to remain the same size as the main window resizes, forcing the user to scroll the chart to see the hidden parts.

Thanks.
Jonathan
Top achievements
Rank 1
 answered on 16 Jan 2014
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
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?