Telerik Forums
UI for WPF Forum
1 answer
129 views
I have a gridview that is using the selection checkbox column. The problem we are running into is that if someones selects rows with the checkboxes, then hits tab, the tab key will cause the row in focus to check (if not checked) and unselect all the other rows. Is there a way to disable this from happening?
Maya
Telerik team
 answered on 23 Jun 2010
1 answer
216 views
This isn't exactly a telerik question but thought I'd give it a shot. I'm trying to port my win framework to wpf using your controls.  As a part of my framework, I have custom controls and components with specialized business properties and in WinForms, I would use the UITypeEditor attribute to specify a custom design time interface. Thay way, within Visual Studio at design time, I could give the user my own custom dialog interface for manipulating properties, picking a business object, etc.

I don't see any way to do this with WPF. Is this not possible? In looking over your own controls, I don't see any custom interface anywhere. I would have expected something on the gridview but even there, it looks like it opens up the generic collection editor.

Is it possible to have a design time custom property dialog editor that the Visual Studio designer will automatically use?
Nikolay
Telerik team
 answered on 23 Jun 2010
3 answers
128 views
Hi ,

I trying to use the ToolTip of the column like this

 

 

 

<my:GridViewDataColumn ToolTip="LastName" Header="LastName" DataMemberBinding="{Binding Path=LastName}" />

what wrong this not working

Best regards
Ehud

 

Vlad
Telerik team
 answered on 23 Jun 2010
2 answers
126 views
Does anyone have a good suggestion to determine the item currently in the center or middle when using a RadCarouselPanel? I want to make sure that the item is in the center before allowing them to select it and also I need to do some visual things to the items not in the center.

Thanks!
Scott
Top achievements
Rank 1
 answered on 22 Jun 2010
6 answers
330 views
Hi,

I would like to know  if there is a way to select an individual cell/cells in a RadGridView rather than an entire row and if so, how one goes about it.

Thanks in advance, Steve
Milan
Telerik team
 answered on 22 Jun 2010
2 answers
140 views
Hi,
i got a problem with getting custom row details. Ive got a gridview with messages (subject,date,sender), what i need is when someone click once on a row, the message will load into some controls. The problem is that MouseLeftButtonDown or MouseLeftButtonUp doesnt work, it sometimes works when i click BOTH left and right buttons, or left click than right lick fast. Roactivated also inst working as i would expect, because it works on enter or doubleclick. How can i achive event on one left mouse button click?
Zbigniew Kozłowski
Top achievements
Rank 1
 answered on 22 Jun 2010
1 answer
109 views

Hi,

I need to remove the delete button binding

So click on Del button will not delete rows in grid

Best regards

Ehud

Vlad
Telerik team
 answered on 22 Jun 2010
4 answers
371 views
Good day!
I have such a xaml:

<Window x:Class="CAP.AdminTool.Questions"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Вопросы" Height="700" Width="750" xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Icon="/CAP.AdminTool;component/favicon.ico" FontFamily="Verdana" FontSize="13" Loaded="Window_Loaded" >
    <Grid >
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" MinHeight="60"></RowDefinition>
            <RowDefinition Height="auto" MinHeight="30"></RowDefinition>
            <RowDefinition Height="auto" MinHeight="60"></RowDefinition>
            <RowDefinition Height="auto" MinHeight="30"></RowDefinition>
        </Grid.RowDefinitions>
        <telerik:RadGridView Grid.Row="0"
             HorizontalAlignment="Left"
             Name="grQuestionSets"
             VerticalAlignment="Top"
             Height="auto"
             MinWidth="700"
             AutoGenerateColumns="False"
             SelectionChanged="grQuestionSets_SelectionChanged"  >
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Header="Раздел вопросов" UniqueName="Name" Width="auto" MinWidth="300"/>
                <telerik:GridViewDataColumn Header="Описание" UniqueName="Description" Width="auto" MinWidth="400"/>             
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>       
    </Grid>
</Window>


I want my RadGridView width to change when I change the width of the window.
How can I do it?
lina fetisova
Top achievements
Rank 1
 answered on 22 Jun 2010
1 answer
503 views
1) When I bind the menu icon to an image which is defined as a StaticResource, the image does not appear but I can see the text "pack:" What am I doing wrong?

2) I want to bind the visibility to the underlying datasource using the BooleanToVisibilityConverter, so that when a menu item is selected the image is visible. I know how to use the converter but where in xaml do I set the binding.

Datasource:

public partial class Toolbar : UserControl 
    { 
        public Toolbar() 
        { 
            InitializeComponent(); 
 
            this.zoomMenu.ItemsSource = GetZoomMenuItems(); 
        } 
 
        private ObservableCollection<ZoomMenuItem> GetZoomMenuItems() 
        { 
            return new ObservableCollection<ZoomMenuItem>() 
            { 
                new ZoomMenuItem(){ IsSelected=false, ZoomSetting=10, ZoomSettingText="10%" }, 
                new ZoomMenuItem(){ IsSelected=false, ZoomSetting=25, ZoomSettingText="25%" }, 
                new ZoomMenuItem(){ IsSelected=false, ZoomSetting=50, ZoomSettingText="50%" }, 
                new ZoomMenuItem(){ IsSelected=false, ZoomSetting=75, ZoomSettingText="75%" }, 
                new ZoomMenuItem(){ IsSelected=false, ZoomSetting=100, ZoomSettingText="100%" }, 
                new ZoomMenuItem(){ IsSelected=false, ZoomSetting=200, ZoomSettingText="200%" }, 
                new ZoomMenuItem(){ IsSelected=false, ZoomSetting=400, ZoomSettingText="400%" }, 
                new ZoomMenuItem(){ IsSelected=false, ZoomSetting=600, ZoomSettingText="600%" }, 
                new ZoomMenuItem(){ IsSelected=false, ZoomSetting=800, ZoomSettingText="800%" }                 
            }; 
        } 
    } 

Menu:

<BitmapImage x:Key="tickImage" UriSource="../Images/tick.png" DecodePixelWidth="10"/> 
 
<Style x:Key="ZoomMenuItemStyle" TargetType="telerikNav:RadMenuItem"
            <Setter Property="Icon" Value="{Binding Source={StaticResource tickImage}}" />             
</Style> 
 
<HierarchicalDataTemplate  
            x:Key="zoomMenuItemTemplate" 
            ItemsSource="{Binding ZoomMenuItem}"
            <TextBlock Text="{Binding ZoomSettingText}" /> 
</HierarchicalDataTemplate> 
 
<telerik:RadDropDownButton  
                x:Name="RadDropBtnZoom" 
                Height="20" 
                Width="15"
                <telerik:RadDropDownButton.DropDownContent> 
                    <telerikNav:RadContextMenu 
                        x:Name="zoomMenu" 
                        Width="75"  
                        BorderThickness="0" 
                        ItemContainerStyle="{StaticResource ZoomMenuItemStyle}" 
                        ItemTemplate="{StaticResource zoomMenuItemTemplate}"
                    </telerikNav:RadContextMenu> 
                </telerik:RadDropDownButton.DropDownContent>                 
</telerik:RadDropDownButton> 



Pana
Telerik team
 answered on 22 Jun 2010
1 answer
107 views
By default each column can be sorted in 3 ways: Ascending, Descending, No Sort. How do I get rid of the third state, but have each the column can only be sorted either in ascending or descending order when I click the column header?

Thanks,
Yang
Ваня
Top achievements
Rank 1
 answered on 21 Jun 2010
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?