Telerik Forums
UI for WPF Forum
1 answer
49 views
Hello. I am considering about 'AutoGenerateColumns'.

I change telerik .dll by purchasing 'UI for WPF'

But My GridView is not working about below code.

<Style TargetType="telerik:GridViewRow">
          <Setter Property="IsSelected" Value="{Binding Title, Converter={StaticResource selectedItemConverter}, ConverterParameter=Chart}"/>
</Style>

Because 'AutoGenerateColumns' is 'False'.

If 'AutoGenerateColumns' setting 'True' is well work.

I want to value that 'AutoGenerateColumns' is 'False'.

What should I do??
Dimitrina
Telerik team
 answered on 08 May 2014
1 answer
148 views
Hi Support,

 i have defined global style as per your guide http://www.telerik.com/help/wpf/gridview-styling-cell.html , and applied it to columns individually then the style is not applied to cells, when i define it locally then it is applied

Thanks
Pallavi
Boris
Telerik team
 answered on 08 May 2014
1 answer
135 views
Hi,

I'm using the Office2013 theme and I would like to knowif it's possible to change the background color/brush of the cells in the background without using the SpecialSlots?

Thank's
Alain
Kalin
Telerik team
 answered on 08 May 2014
1 answer
99 views
Hi,

I use the Office2013 theme and I would like to know if it's possible to hide the selection of a cell but keep the selection of the SpecialsSlots and the Appointments?!?

Actually if I have a MinotTickLength of 30 mins, and I have 1 special slot and 1 appointment in the cell of my control, I would like to highlight only the selected special slot or the selected appointment and ignore the selection of the cell.

Thank's
Alain
Kalin
Telerik team
 answered on 08 May 2014
3 answers
112 views
Hello,

I've been experimenting with creating a numeric indication with the Telerik suite and I have encountered a few problems. I am attempting to use the HexagonalNumberPosition and it seems to not handle a few situations particularly well. For example, if the control is made too large, there are a lot of rough edges around some of the edges of the segments. Also, the decimal scales very badly and is comparatively huge for a decimal place.

Is there any way I can better control the rendering of these elements?

Thanks
Pavel R. Pavlov
Telerik team
 answered on 08 May 2014
1 answer
93 views
Hello,

I have a RadPropertyGrid bounded to a my custom object (MyItem.cs)
I put a DataTemplateSelector class in place to provide new templates for the object properties.

I used AutoBindBehavior inside the custom Data Templates, but the bounded object properties seems not be updated properly.


How can I attach a sample project into this thread?


Thanks
Dimitrina
Telerik team
 answered on 08 May 2014
1 answer
139 views
Hi,

I'm quite new to WPF in general and Telerik Schedule View in specific.

What I"m trying to do is group Resources. Let"s say I have tools as Resouces (ResourceType tools) and every tool has as toolgroup:

Drills
       Drill A
       Drill B
       Drill C
Hammer
       Hammer A
       Hammer B
....

Another ResourceType is the wrong approach, and the Resource itels offers no possibility to group by.

Is there any way I can Group Resources in a scheduleView?


Yana
Telerik team
 answered on 08 May 2014
3 answers
297 views
I have a custom style for RadNumericUpDown as listed below. Using the default style you can click the textbox when something else has focus and the focus will transfer to the textbox. However with my custom style this does not work. The textbox does get focus when you click either of the RepeatButtons. I tried setting Focusable to true, but that does not work..

<Style TargetType="{x:Type telerik:RadNumericUpDown}">
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate>
                <Grid Height="36">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="36"/>
                        <ColumnDefinition Width="*"/>
                        <ColumnDefinition Width="36"/>
                    </Grid.ColumnDefinitions>
                         
                    <!--1. Textbox control for text input-->
                    <TextBox x:Name="textbox" Grid.Column="1" HorizontalAlignment="Stretch" />
                    <!--2. Button control for increasing the value-->
                    <RepeatButton x:Name="increase" Style="{StaticResource BaseButtonStyle}" Grid.Column="2">
                        <Viewbox>
                            <Grid Width="20" Height="20">
                                <Path Stroke="Black" Data="M0,5 H10 M5,5 V10Z" StrokeThickness="2" Height="10" Width="10" UseLayoutRounding="True" />
                            </Grid>
                        </Viewbox>
                    </RepeatButton>
                    <!--3. Button control for decreasing the value-->
                    <RepeatButton x:Name="decrease" Style="{StaticResource BaseButtonStyle}" Grid.Column="0">
                        <Viewbox>
                            <Grid Width="20" Height="20">
                                <Path Stroke="Black" Data="M0,5 H10" StrokeThickness="2" Height="10" Width="10" UseLayoutRounding="True" />
                            </Grid>
                        </Viewbox>
                    </RepeatButton>
                </Grid>
            </ControlTemplate>
        </Setter.Value>
    </Setter>
</Style>
Wouter
Top achievements
Rank 1
 answered on 08 May 2014
5 answers
279 views
I am trying to get drag and drop within a list box working.  With the following XAML, I don't see the drop indicator when attempting to drop the item below the last item, yet the drop still works...

<UserControl.Resources>
         
        <ListBoxDragReorderWpf:TemplateViewModel x:Key="TemplateViewModel"/>
         
        <DataTemplate x:Key="RadListBoxItemTemplate">
            <TextBlock Text="{Binding Name}"/>
        </DataTemplate>
         
        <Style x:Key="RadListBoxContainerStyle" TargetType="{x:Type telerik:RadListBoxItem}">
            <Setter Property="telerik:DragDropManager.AllowCapturedDrag" Value="True"/>
        </Style>
         
        <Style x:Key="RadListBoxStyle"
               TargetType="{x:Type telerik:RadListBox}">
            <Setter Property="ItemContainerStyle" Value="{StaticResource RadListBoxContainerStyle}"/>
            <Setter Property="ItemTemplate" Value="{StaticResource RadListBoxItemTemplate}"/>
        </Style>
         
    </UserControl.Resources>
     
    <Grid DataContext="{StaticResource TemplateViewModel}">
         
        <telerik:RadListBox ItemsSource="{Binding Pages}"
                            Style="{StaticResource RadListBoxStyle}"
                            Width="100"
                            Height="200">
            <telerik:RadListBox.DragDropBehavior>
                <telerik:ListBoxDragDropBehavior/>
            </telerik:RadListBox.DragDropBehavior>
            <telerik:RadListBox.DragVisualProvider>
                <telerik:ScreenshotDragVisualProvider />
            </telerik:RadListBox.DragVisualProvider>
            <telerik:RadListBox.DropVisualProvider>
                <telerik:LinearDropVisualProvider />
            </telerik:RadListBox.DropVisualProvider>
        </telerik:RadListBox>     
         
    </Grid>
Kalin
Telerik team
 answered on 08 May 2014
1 answer
219 views
Hello,
how I refresh a radcalendar after having added an event to a day ? I'm in an MVVM project so I add my item to the DataItems  but it doesn't appear until I close the page then reload it

Thanks
Polya
Telerik team
 answered on 07 May 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
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?