Telerik Forums
UI for WPF Forum
1 answer
115 views
I am making an appointment scheduler and our users like to see the top of the hour cells in a different color to make navigating and booking appointments easier. For example the cells that fall at 9 AM, 10 AM, 11 AM, etc... would be shaded blue.

What would be the best way to do something like this?
Konstantina
Telerik team
 answered on 16 Feb 2012
1 answer
213 views
I use the RadTextBox. I start with a new document and I insert a table (3 rows, 2 cells pr row).
The font in the cells is Calibri 11.
The document is saved as 'Test.docx'.

Now I open the same file/document in Word. The height of all the rows is now doubled.
The font in the cells is Verdana 12.

Now I save the document in Word as Test2.docx.
I close Word and open the file in RichTextBox-editor.
The height of the rows is not doubled any longer, but the font is still Verdana 12.


Iva Toteva
Telerik team
 answered on 16 Feb 2012
2 answers
356 views
Hello Telerik,
I got a small annoyance wit the telerik radmenu, I've defined my own hyierachicaldatatemplate as

<HierarchicalDataTemplate x:Key="MenuItemTemplate" ItemsSource="{Binding Items}">
          <TextBlock Text="{Binding Text}" cal:Message.Attach="[Event PreviewMouseDown] = [Action OpenView($dataContext)]"  cal:Action.TargetWithoutContext="{Binding}" />
      </HierarchicalDataTemplate>

(I use caliburn micro for mvvm pattern)

and I b've defined the radmenu as

<telerik:RadMenu x:Name="MenuList"  ClickToOpen="False"   BorderBrush="Transparent" ItemsSource="{Binding Items}" ItemTemplate="{StaticResource MenuItemTemplate}">
           <telerik:RadMenu.ItemContainerStyle>
              <Style TargetType="telerik:RadMenuItem">
                   
                   <Setter Property="Visibility" Value="{Binding IsVisible,Converter={StaticResource booleanConverter}}"></Setter>
               </Style>
           </telerik:RadMenu.ItemContainerStyle>
           <!--ItemsSource="{Binding Items}" ItemTemplate="{StaticResource MenuItemTemplate}"-->
       </telerik:RadMenu>

The problem I got now is that if I've (as text)

MenuToplevelItem
Voice1    (*)
VoiceLongerThenVoice1

I've to click exacly on Voice 1, if I click where I put (*) it won't call the OpenView() ...same meaning if I click on the left part of the menuitem... it does't work.. how can I style the menuitem in order to a stackpanel/text larger as the largest value?
Thanks
Konstantina
Telerik team
 answered on 16 Feb 2012
1 answer
102 views
In the RadScheduler for WinForms you could set the number of resources you want to show on the screen. So if you have 8 resources and you set it to show 4, it will size it so that 4 resource columns take up the entire grid, and if you scroll over it will show the other resources. Is there a way to do something similar in the ScheduleView?
Valeri Hristov
Telerik team
 answered on 16 Feb 2012
20 answers
1.6K+ views
Hey guys,  I am tyring to capture the drop event in my viewModel using MVVM with the RadDragAndDropManager.  Is it possible to configure the RadDragAndDropManager in XAML such that I can define the handler of the event?

For example, I tried something like this:

        <Style TargetType="telerik:GridViewRow" x:Key="OrderItemStyle">  
            <Setter Property="dragDrop:RadDragAndDropManager.AllowDrop" Value="True" /> 
            <Setter Property="dragDrop:RadDragAndDropManager.DropQueryEvent" Value="OnRowDropQuery" /> 
            <Setter Property="dragDrop:RadDragAndDropManager.AllowDrag" Value="True" /> 
        </Style> 
 

but the DropQueryEvent is not recognized as being available in the RadDragAndDropManager.

Any ideas? 
recotech
Top achievements
Rank 1
 answered on 16 Feb 2012
3 answers
200 views
Is it possible to access the GridView's drag template/style (see image)? I'm trying to recreate it for a custom drag scenario

Nick
Telerik team
 answered on 16 Feb 2012
1 answer
115 views
I have a RadGridView

<telerik:RadGridView Background="Black" HorizontalContentAlignment="Center" Loaded="GridView_Loaded" BorderThickness="0" AutoGenerateColumns="False" Grid.Row="0" x:Name="GridView" EditTriggers="None" CanUserDeleteRows="False" Foreground="White" SelectionChanged="GridView_SelectionChanged" RowIndicatorVisibility="Collapsed">

and as soon as it gets loaded I get this error:

Cannot create instance of 'FrozenColumnsSplitter' defined in assembly 'Telerik.Windows.Controls.GridView, Version=2011.3.1220.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'. Exception has been thrown by the target of an invocation.  Error at object '1_T' in markup file 'Telerik.Windows.Controls.GridView;component/themes/Metro/DataCellsPresenter.xaml'.

I've tried different themes, they all do it. Please advise!
Vlad
Telerik team
 answered on 16 Feb 2012
5 answers
229 views
Hi,

I'm using gridView for my application which include insert, edit, delete operations. During insert/Edit the row, if I click any other row/cell, the CommitEdit() is fired. How do I stop this event?

Thanks,

Li
Henky Wibowo
Top achievements
Rank 1
 answered on 16 Feb 2012
2 answers
134 views

Good Morning,

I am happy with the min and max values the AutoRange is providing for the Y-Axis for my line chart but the AutoRange has a step of 20 and I prefer 10.

Is it possible to set a manual step if setting AutoRange to true?

Furthermore, is it possible to set a max value for the AutoRange to use, as I notice the y range ends a little higher than it really needs to? For example, the Y-Axis range may start at 0 and end at 15 when it really only needs to end at 10, as the highest Y value is 9.5.

Thank you in advance,

David.

David Huxtable
Top achievements
Rank 1
 answered on 16 Feb 2012
1 answer
154 views
How do you change the viewport header text style/color?
Evgenia
Telerik team
 answered on 15 Feb 2012
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
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?