Telerik Forums
UI for WPF Forum
5 answers
222 views
Hi, 

This is my scenario: I have a Diagram and I do  Diagram.BringIntoView(new Point(0,0), zoom, false), but when I do Diagram.AutoFit(new Thickness(0, 0, 0, 0), false), my Diagram back to the original position (without zoom) as if the function BringIntoView() doesn't work. I need that the Diagram will be in center and with zoom. 

Thanks, 

Maite.
Pavel R. Pavlov
Telerik team
 answered on 28 Oct 2014
1 answer
137 views
I need to create an apps with UI similar with Telerik UI  - 2013 Demo App style complete with side panel. Any tutorial or samples?
Yana
Telerik team
 answered on 28 Oct 2014
5 answers
293 views
I'm using RadWindow as main window of a wpf application. Switching theme of all other controls at runtime using implicit styling approach works great. But i can't switch theme of main window?!? Is there any way to get this working?
Kalin
Telerik team
 answered on 28 Oct 2014
1 answer
241 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
97 views
Is it possible to place a sparkline in a RadSpreadsheet cell?
Nikolay Demirev
Telerik team
 answered on 28 Oct 2014
1 answer
272 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
168 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
170 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
299 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
157 views
Is there a way to autogenerate Groups in a similar manner as autogenerating tiles?
Maya
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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?