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

Look the attatched solution, run it and maximize the form.
Note that the last point have hours=00:00
Now start to move horizontal zoom bar from left to rigth.
When a new X Axys label is added the last point hours is aprrox 12:00
If yor reduce more the zoom bar the points is allways in incorrect position.

Thank's marc.

<telerik:RadCartesianChart>
            <telerik:RadCartesianChart.HorizontalAxis>
                <telerik:DateTimeContinuousAxis MaximumTicks="5" PlotMode="OnTicksPadded"/>
            </telerik:RadCartesianChart.HorizontalAxis>
            <telerik:RadCartesianChart.VerticalAxis>
                <telerik:LinearAxis/>
            </telerik:RadCartesianChart.VerticalAxis>
            <telerik:LineSeries Name="mS">
                 
            </telerik:LineSeries>
            <telerik:RadCartesianChart.Behaviors>
                <telerik:ChartPanAndZoomBehavior />
            </telerik:RadCartesianChart.Behaviors>
        </telerik:RadCartesianChart>


public MainWindow()
        {
            InitializeComponent();
 
            for (int i = 0; i < 100;i++ )
                mS.DataPoints.Add(new Telerik.Charting.CategoricalDataPoint() { Category = System.DateTime.Today.AddDays(i), Value = 5 });
             
        }

Petar Kirov
Telerik team
 answered on 12 Jun 2013
1 answer
171 views
Hi,

Right Click on NumericUpDown copy numeric right click and paste not work and issue right click copy and cut not enabled in currency and percentage value format.

Thanks.
Konstantina
Telerik team
 answered on 12 Jun 2013
1 answer
178 views
I have used the information at http://www.telerik.com/help/wpf/radtimeline-features-grouping.html#ChangingExpandableGroupsCollapsedState to set up the default values for expand/collapse*

I would like to add "Expand All" and "Collapse All" buttons to my page for the user's convenience, however, I can't find a way to do this; is it possible?

*: I have the style set so that all groups start expanded, but oddly, the first time the timeline draws data, the first group is NOT expanded even though the rest are.  After this first time, everytime I change the collection bound to ItemsSource, all groups will be expanded

Tsvetie
Telerik team
 answered on 12 Jun 2013
3 answers
114 views
I want to make a row with column headers with characters 'A' to 'Z', and then be able to drop items beneath these headers on a single row.
For example, item 1 can be dragged to column B, and item 2 to column H.
Is this even possible?
Nick
Telerik team
 answered on 12 Jun 2013
1 answer
166 views
I have IsTabStop="False" set on my RadToolBar but when I start tabbing it still gets focus... why is this and how do I stop it from being a tab stop?
Vladislav
Telerik team
 answered on 12 Jun 2013
2 answers
226 views
Hello Telerik ,
I can copy appointments in RadScheduleView by holding the CTRL key and dragging the appointment to the desired slot.
But I want to have this functionality in my ContextMenu or by using shortcuts.
 Is there any way to make copy/paste work with standard keyboard shortcuts (CTRL-C/CTRL-V) or  ContextMenu
?
Thank you in advance,
hiwa
Hiwa
Top achievements
Rank 2
 answered on 12 Jun 2013
3 answers
124 views

Hello,

I’ve found a strange behavior of the validation while cancel editing a cell. When I edit a cell and enter an invalid value it shows me, that there is an input error. Very nice and cool! But when I cancel the editing with the escape key, the cell resets the content to the previous value. If the previous value was invalid too, there is no error message.

Is there something I can do to fix the problem?

Dimitrina
Telerik team
 answered on 12 Jun 2013
3 answers
899 views
Consider my DataTemplateSelector below. I want all my RadPropertyGrid to have this particular editor for all string properties. This implies a problem when binding to the property in XAML - since the property name is unknown! How can I get this working?

My initial thought was to map Path to the property so that I can later bind to the Path instead of a specified property name. Ideas?

 

public class MyPropertyGridDataTemplateSelector : DataTemplateSelector
{
    public override DataTemplate SelectTemplate(object item, DependencyObject container)
    {
        var pd = item as PropertyDefinition;
 
        if (pd != null && pd.SourceProperty.PropertyType == typeof(string))
        {
            /* Something like this?
            pd.Binding = new Binding
            {
                Path = new PropertyPath(pd.SourceProperty.Name),
                Mode = BindingMode.TwoWay,
                UpdateSourceTrigger = UpdateSourceTrigger.LostFocus
            };
            */
 
            return FilePathDataTemplate;
        }
 
        return null;
    }
 
    public DataTemplate FilePathDataTemplate { get; set; }
}

Binding becomes a problem since the property name is unknown:
<local:MyPropertyGridDataTemplateSelector x:Key="dataTemplateSelector">
        <local:MyPropertyGridDataTemplateSelector.FilePathDataTemplate>
            <DataTemplate>
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition />
                        <ColumnDefinition Width="Auto"/>
                    </Grid.ColumnDefinitions>
                    <!-- This is where the problem begin... -->
                    <TextBox Text="{Binding Path}" Grid.Column="0" />
                    <Button Content="..." Width="25" Height="25" Grid.Column="1" Command="{Binding DataContext.OpenCommand, RelativeSource={RelativeSource AncestorType={x:Type Window}}}" CommandParameter="{Binding Path}" />
                </Grid>
            </DataTemplate>
        </local:MyPropertyGridDataTemplateSelector.FilePathDataTemplate>
    </local:MyPropertyGridDataTemplateSelector>
Ivan Ivanov
Telerik team
 answered on 12 Jun 2013
1 answer
126 views
Hello. How can I hide currency mask in RadMaskedCurrencyInput when I select this control? (I see next number ",   ,   ,  1.01", but I need to see only 1.01). Thanks.
Pavel R. Pavlov
Telerik team
 answered on 12 Jun 2013
1 answer
279 views
Hi,

I would like to have the width of the ganntview: 50% for the grid (left side) and 50% for the chart (right side).

Thanks

Madani
Vladi
Telerik team
 answered on 12 Jun 2013
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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?