Telerik Forums
UI for WPF Forum
1 answer
243 views
 I have RadCartesianChart : 
 <chart:RadCartesianChart  Zoom="{Binding Zoom, Mode=TwoWay}" HorizontalZoomRangeStart="1" HoverMode="FadeOtherSeries"
                                  PanOffset="{Binding PanOffset, Mode=TwoWay}" Palette="Windows8" Margin="150,68,10,10" Grid.RowSpan="2">
                
                <chart:RadCartesianChart.HorizontalAxis>
                    <chartView:CategoricalAxis MajorTickInterval="200" >
                    </chartView:CategoricalAxis>
                </chart:RadCartesianChart.HorizontalAxis>
                <chart:RadCartesianChart.VerticalAxis>
                    <chartView:LinearAxis />
                </chart:RadCartesianChart.VerticalAxis>
                <telerik:RadCartesianChart.Behaviors>
                    <telerik:ChartPanAndZoomBehavior  ZoomMode="Horizontal"/>
                    <telerik:ChartTrackBallBehavior ShowIntersectionPoints="True" />
                </telerik:RadCartesianChart.Behaviors>
                <chart:RadCartesianChart.Grid>
                    <chartView:CartesianChartGrid MajorLinesVisibility="Y" StripLinesVisibility="Y" />
                </chart:RadCartesianChart.Grid>

                <volumeChart:ChartSeriesTypeSwitch.SeriesType>
                    <Binding Path="SelectedChartType" />
                </volumeChart:ChartSeriesTypeSwitch.SeriesType>
            </chart:RadCartesianChart>
Petar Marchev
Telerik team
 answered on 28 Oct 2014
1 answer
101 views
Is it possible to place a sparkline in a RadSpreadsheet cell?
Nikolay Demirev
Telerik team
 answered on 28 Oct 2014
1 answer
276 views
Hi,

i have to change the image of a GridViewCell dynamically.

<local:ImageDayConverter x:Key="DayConverter" />
        <Style x:Key="CellStyle" TargetType="{x:Type telerik:GridViewCell}">
            <Setter Property="Background" Value="red" />
            <Setter Property="BorderThickness" Value="0" />
            <Setter Property="BorderBrush" Value="{x:Null}" />
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate>
                        <Border BorderBrush="#f2f2f2" BorderThickness="0,0,0,2" Padding="0,5,0,5">
                            <StackPanel Orientation="Horizontal">
                                <Image Height="30" Source="{Binding DayImage, Converter={StaticResource DayConverter}}"/>
                                <StackPanel Orientation="Vertical" Margin="10,0,0,0" VerticalAlignment="Top">
                                    <TextBlock Text="{Binding Titel}" />
                                    <StackPanel Orientation="Horizontal">
                                        <TextBlock Text="{Binding Start}" Foreground="#9fa2ae"/>
                                        <TextBlock Text=" - " />
                                        <TextBlock Text="{Binding Startzeit}" Foreground="#9fa2ae" />
                                    </StackPanel>
                                </StackPanel>
                            </StackPanel>
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

This is my Image:
<Image Height="30" Source="{Binding DayImage, Converter={StaticResource DayConverter}}"/>

How must the Converter look like? The Value of DayImage is a string "10,10,2014"

Thanks a lot
Best Regards
Rene
Dimitrina
Telerik team
 answered on 28 Oct 2014
3 answers
172 views
I created user control of the RadWindow with custom content and controls. The issue I'm having is when I show the dialog it can't get a way to return what the button the user returns. What occurs is as soon as the dialog shows up it always returns the default button without waiting for the dialog to close.

button click event for buttons:

private void Clicked(object sender, ExecutedRoutedEventArgs e)
        {
            ButtonType dr = (ButtonType)Enum.Parse(typeof(ButtonType), e.Parameter.ToString());
            this.DialogResponse = dr;

            dialogWindow.Close();
        }

common function on page:
public ButtonType ShowMessageDialog(string message, string caption, DialogButtonSet buttons, DialogIcon icon)
        {
            this.Style = null;
            this.DialogText = message;
            this.DialogButtonType = buttons;
            this.HeaderImageIcon = icon;
            this.DialogTitle = caption;
            this.ButtonClickPreview = null;
            this.MessageBox.Visibility = Visibility.Visible;
            this.CustomContent.Visibility = Visibility.Collapsed;
            this.Launched = true;
            this.ClearPushdown();
            this.ShowDialog();                     <===== I want the code to stop here until window closes
            return this.DialogResponse;
        }

Nasko
Telerik team
 answered on 27 Oct 2014
10 answers
174 views
What is the best way to modify the styles or templates to allow exclusive room for the Group Headers vertically?  It seems that depending on the size of the window, the tiles expand to overlap the area that I would have expected to be reserved for the Group Header. 

Thanks
Paul
Maya
Telerik team
 answered on 27 Oct 2014
1 answer
302 views
We're using the ControlPanelItem option on our RadGrids. For actions you want to apply to the grid it's great (e.g. column visibility, filter options). But how can we bubble up the button click to the view model instead? The button's context seems to be bound to the grid and thus captures the click event... how can we tell the button to use the view model instead so that the click can be captured there (we're using Caliburn Micro for binding, but could be anything).

Thanks,

Steve
Dimitrina
Telerik team
 answered on 27 Oct 2014
2 answers
162 views
Is there a way to autogenerate Groups in a similar manner as autogenerating tiles?
Maya
Telerik team
 answered on 27 Oct 2014
2 answers
191 views
In the first attached screenshot, I have 6 BarSeries (all with the same values for the data).  5 series are stacked in 2 groups (using the stack key). The sixth series has a combine mode of Clustered.   You can see where the Clustered series is much wider than the stacked series.  In the second screenshot, I have 3 BarSeries. 2 are Clustered and 1 is Stacked. In this case, the Stacked BarSeries is the one that is wider than the other series.  I am using a point template for BarSeries, but it is not doing anything with the width (It's a Border).  Is the width difference purposeful, or is this a bug?
Mitchell
Top achievements
Rank 1
 answered on 27 Oct 2014
1 answer
135 views
Is it possible to scroll to a particular day in week and month view definition.

vikas
Nasko
Telerik team
 answered on 27 Oct 2014
5 answers
464 views
Hi,
is it somehow possible to declare the telerik theme so that the controls would have their theme set in designer also?

I'm already setting theme code behind in Application_Startup like

StyleManager.ApplicationTheme = new Expression_DarkTheme();

But I would like to set the theme application wide so that I could see the rad controls wiht the dark theme also in design mode.

Best regards,
Niklas
Vanya Pavlova
Telerik team
 answered on 27 Oct 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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?