Telerik Forums
UI for WPF Forum
2 answers
145 views

Hi,

I wonder if it is possible to have different distances between ticks when using Linear or Categorical axes.

I have attached an image to show what I would like to accomplish.

 

Thanks,

Alberto

Amige
Top achievements
Rank 1
Veteran
 answered on 11 Apr 2016
4 answers
323 views

Hi,

I'm trying to change the controlpanelitem RadDropdownButton into a RadButton. So far any luck. Does anybody know how this can be done?

Thanks in advance!

 

 

Dilyan Traykov
Telerik team
 answered on 11 Apr 2016
9 answers
408 views

I have a radgridview and a Command to save changes to that view on a button next to it

 

<Button Content="Save" Margin="0, 0, 8, 0" Command="{Binding Path=SaveAndNewCommand}">
                <Button.CommandParameter>
                    <Binding ElementName="Registrations" />
                </Button.CommandParameter>
            </Button>

 

When I save I want to clear any filters on this RadGridView

So in my Command I fire this in my UI thread when I am done

 

radGridView.FilterDescriptors.SuspendNotifications();
                         
                        foreach (GridViewColumn column in radGridView.Columns)
                        {
                            column.ClearFilters();
                        }
                        radGridView.FilterDescriptors.ResumeNotifications();

 

I also tried

radGridView.FilterDescriptors.Clear();

 

but nothing seems to work, the lines aint filtered, but the filter button still shows the filtered state, and if I click on the filter icon, any settings I had before are still set.

Stefan Nenchev
Telerik team
 answered on 11 Apr 2016
3 answers
193 views
Is it possible to add a place holder tag to a rich text document? As for example, it might look like this
<t:section>
                <t:paragraph>
                </t:paragraph>
                <custom:Placeholder />
                <t:paragraph>
                </t:paragraph>
</t:section>

And in this case, telerik will just ignore the place holder tag and load the document ignoring them. All the document operation will be performed ignoring the place holder tag. 
This is kind of feature or behaviour available or possible?
Anand
Top achievements
Rank 1
 answered on 11 Apr 2016
1 answer
100 views

Hi All,

We've successfully customised the filter control when using the Popup filter mode, however we now have a requirement for certain grids to have the FilterRow filter mode.

We are struggling to get any customisations when it comes to using a distinct list of filters.

Using the Telerik sample project CustomColumnFilterDescriptor_WPF and setting the Filter Mode to FilterRow demonstrates the problem.

Any guidance please on how we can best approach getting custom filters with FilterRow

Many thanks

 

Stefan
Telerik team
 answered on 11 Apr 2016
1 answer
193 views

Hi, I have a problem with the zooming and scrolling in a simple chart application. My screen has multiple charts (line charts in this particular example), and a Scrollviewer that contains them all. The problem is that when I want to zoom in in a chart it scrolls up and when I zoom out it scrolls down in the same time. I have tried to resolve this problem by checking when the mouse is inside the chart zone and disable the scrollviewer but it didn't work because that disabled my mouse wheel for good..

This is the code I used to disable the mouse wheel for the scrollviewer and pass it to the chart control:

private UIElement chart;
 
private void MouseLeaveChart(LineChartView lineChartView)
{
    // this is triggered when the mouse leaves the chart area
    chart = null;
}
 
private void MouseEnterChart(RadCartesianChart radCartesianChart)
{
    // this is triggered when the mouse enters the chart area
    chart = radCartesianChart;
}
 
private void ScrollViewer_OnPreviewMouseWheel(object sender, MouseWheelEventArgs e)
{
    if (chart != null)
    {
        e.Handled = true;
        var e2 = new MouseWheelEventArgs(e.MouseDevice, e.Timestamp, e.Delta);
        e2.RoutedEvent = UIElement.MouseWheelEvent;
        chart.RaiseEvent(e2);
    }
}

Any kind of help is highly appreciated, thank you in advance! 

 

Peshito
Telerik team
 answered on 11 Apr 2016
3 answers
284 views

 

Hi,

I've a floating RadSplitContainer (labeled as B in the photo ) and I need to customize it to make it looks like the panel A, hide the close button, blue background on header, thickness border to 1px... I've tried with sytlesheets and templates but I cannot make it possible.

 

Code RadDocking:

 

<telerik:RadDocking>
    <telerik:RadSplitContainer telerik:RadDocking.FloatingLocation="500,50"  InitialPosition="FloatingDockable">
        <telerik:RadPaneGroup>
            <telerik:RadPane x:Name="TooltipHeader" CanDockInDocumentHost="False" CanUserClose="False">
                <StackPanel x:Name="TooltipFloat">
 
                </StackPanel>
            </telerik:RadPane>
        </telerik:RadPaneGroup>
    </telerik:RadSplitContainer>
</telerik:RadDocking>

 

Regards,

Gerard.

Hello, I have a floating RadSplitContainer (labeled A in the photo ) and I need to customize it to make it as the stack panel (labeled B)
Hello, I have a floating RadSplitContainer (labeled A in the photo ) and I need to customize it to make it as the stack panel (labeled B)
Hello, I have a floating RadSplitContainer (labeled A in the photo ) and I need to customize it to make it as the stack panel (labeled B)
Hello, I have a floating RadSplitContainer (labeled A in the photo ) and I need to customize it to make it as the stack panel (labeled B)
Hello, I have a floating RadSplitContainer (labeled A in the photo ) and I need to customize it to make it as the stack panel (labeled B)
Nasko
Telerik team
 answered on 11 Apr 2016
1 answer
185 views

Hi,

I cannot use Chinese IME with RadMaskedTextInput. I tried Microsoft Pinyin as well as Microsoft Quick with no good results. OnLostFocus the control is cleared and ArgumentOutOfRangeException is thrown...

at System.Text.StringBuilder.Insert(Int32 index, String value)

When the control regains focus the Chinese characters are show again but the Value property is never updated...

 

Are there any workarounds? Any suggestions would great.

Thanks!

 

Milena
Telerik team
 answered on 11 Apr 2016
3 answers
590 views

I am trying to format the header of the RadGreidView

 

I

 

            <telerik:RadGridView Margin="10" 
                                 x:Name="safeDataGridView" 
                                 HorizontalAlignment="Stretch" 
                                 VerticalAlignment="Stretch" 
                                 ItemsSource="{Binding QueryTable}" 
                                 ScrollViewer.VerticalScrollBarVisibility="Visible" 
                                 ScrollViewer.HorizontalScrollBarVisibility="Visible" 
                                 RowLoaded="safeDataGridView_RowLoaded" 
                                 Loaded="safeDataGridView_Loaded" >
                <telerik:RadGridView.HeaderRowStyle>
                    <Style TargetType="telerik:HeaderRowStyle">
                        <Setter Property="Background">
                            <Setter.Value>
                                <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                                    <GradientStop Offset="0.0" Color="#373638" />
                                    <GradientStop Offset="1.0" Color="#77797B" />
                                </LinearGradientBrush>
                            </Setter.Value>

                        </Setter>
                    </Style>                 
                </telerik:RadGridView.HeaderRowStyle>
            </telerik:RadGridView>

 

I am fcoming unstuck with the line <Style TargetType="telerik:HeaderRowStyle">.  Am I going in the right direction with this and if not could I have a similar simple example of how it is done correctly please.  

 

Martin
Telerik team
 answered on 11 Apr 2016
5 answers
462 views
I am trying to use RadWindow as a Dialog window with XAML similar to this:

  <Grid>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition Height="100"/>
        </Grid.RowDefinitions>

        <ContentControl x:Name="DialogPresenter" Content="{Binding}" Grid.Row="0" />
        <Grid Grid.Row="1"> ... some grid with OK and Cancel buttons</Grid>
</Grid>

But RadWindow was never resized from its initial size (MinWidth and MinHeight were set on window), I tried to move min width and height to first grid, but that did not help either. Why this is not working, and what am I doing wrong here?
Nasko
Telerik team
 answered on 11 Apr 2016
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
Slider
Expander
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?