Telerik Forums
UI for WPF Forum
2 answers
105 views
Hi,
I have this tileview to present some thumbnails:
<telerik:RadTileView
x:Name="SearchResultsListBox" SelectionChanged="SearchResultsListBox_SelectionChanged" 
IsSelectionEnabled="True"
SelectionMode="Single"
Background="White"                                                
ContentTemplateSelector="{StaticResource RTS}"
TileStateChangeTrigger="None"
IsItemsAnimationEnabled="False"
ColumnsCount="3"                                                                                                                                               
MinHeight="185">
</telerik:RadTileView>
I dynamically fill the "Items" and When the height of items gets bigger than MinHeight value I need that vertical scrollbar to appear, but it wont, what is the problem?
soroush
Top achievements
Rank 1
 answered on 09 Dec 2011
1 answer
95 views
Hi

is it possible to use the im / export functions without a UI ?

I've to convert HTML Content from a database to doc(x) and PDF within a batch / Console application.
Ivailo Karamanolev
Telerik team
 answered on 09 Dec 2011
1 answer
150 views
Hi Telerik,

Im currently styling the GridLines for my chart. The problem appears when I enable the GridLines with a strokethickness of 1. You now see some gridlines not snapping to the device pixels (which causes the gridline to be blurry or sharp).

This behavior is also apparent in your GridViewSample: http://demos.telerik.com/silverlight/#Chart/CustomGridLines

I've tried to customize the AxisStyles and setting SnapToDevicePixels, but this doesnt work.

Do you have a sample which fixes the blurry GridLines?
Sia
Telerik team
 answered on 09 Dec 2011
4 answers
129 views
Hello,
I've used the PrintExtension class you've provided with WPF 2011 SP1 examples but when I click the print button it's not possible to set a range of pages... if my grid has 20.000 records I don't want be responsable of Amazonian's forest harvest....
is it possible to choose a range? how to enable it? my Grid doesn't have pagination but as far I've seen that's no the problem...

Thanks

Paolo

Michele
Top achievements
Rank 2
 answered on 09 Dec 2011
1 answer
244 views
Hi,

I'm using Telerik 2011.3.1116.35 and VS2008 with a RadRichtextBox. Actually I use a RtdDataProvider to add Rtf document in my RadRichTextBox.

When I try to insert new text at the end of my RadRichTextBox, the new text seems to clear the current content of my RadRichTextBox bedfore insert my new text.

Here is the xaml:
<Window x:Class="WpfApplication3.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    xmlns:telerikProvider="clr-namespace:Telerik.Windows.Documents.FormatProviders.Rtf;assembly=Telerik.Windows.Documents.FormatProviders.Rtf"
    Title="Window1" Height="300" Width="641">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
              
        <StackPanel Orientation="Horizontal" DataContext="{Binding ElementName=editor, Path=Commands}">
            <telerik:RadRibbonToggleButton Text="B" FontFamily="Times New Roman" FontSize="14" FontWeight="Bold" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=ToggleBoldCommand}" />
            <telerik:RadRibbonToggleButton Text="I" FontFamily="Times New Roman" FontSize="14" FontStyle="Italic" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=ToggleItalicCommand}" />
            <telerik:RadRibbonToggleButton FontFamily="Times New Roman" FontSize="14" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=ToggleUnderlineCommand}">
                <Underline>U</Underline>
            </telerik:RadRibbonToggleButton>
            <telerik:RadButton Click="RadButton_Click">Test</telerik:RadButton>
        </StackPanel>
       
        <telerik:RadRichTextBox Grid.Row="1" x:Name="editor" Margin="24 24 0 0" AllowDrop="True" ShowComments="True" IsSelectionMiniToolBarEnabled="False" IsContextMenuEnabled="False" />       
        <telerikProvider:RtfDataProvider Name="Rtf" RichTextBox="{Binding ElementName=editor}" />
        <telerik:DocumentRuler AssociatedRichTextBox="{Binding ElementName=editor, Mode=OneTime}" Grid.Row="1" />
        <telerik:RadRichTextBoxStatusBar Grid.Row="2" AssociatedRichTextBox="{Binding ElementName=editor, Mode=OneTime}" />
    </Grid>
</Window>

Here is the code-behind:

using

 

System;

 

using

 

System.Collections.Generic;

 

using

 

System.Linq;

 

using

 

System.Text;

 

using

 

System.Windows;

 

using

 

System.Windows.Controls;

 

using

 

System.Windows.Data;

 

using

 

System.Windows.Documents;

 

using

 

System.Windows.Input;

 

using

 

System.Windows.Media;

 

using

 

System.Windows.Media.Imaging;

 

using

 

System.Windows.Navigation;

 

using

 

System.Windows.Shapes;

 

using

 

VPlayer;

 

using

 

Telerik.Windows.Documents.Model.Styles;

 

namespace

 

WpfApplication3

 

{

 

/// <summary>

 

 

/// Interaction logic for Window1.xaml

 

 

/// </summary>

 

 

public partial class Window1 : Window

 

{

 

public Window1()

 

{

InitializeComponent();

}

 

private void RadButton_Click(object sender, RoutedEventArgs e)

 

{

Rtf.Rtf =

"Line 1";

 

editor.Document.CaretPosition.MoveToLastPositionInDocument();

editor.Insert(

@"Line 2");

 

}

}

}


Thank's

Alex
Telerik team
 answered on 08 Dec 2011
3 answers
130 views
Is there a way of getting the spell checker to perform live checks and add the wavy underscore?  If not do you intend to add this in a future update?
Andrew
Telerik team
 answered on 08 Dec 2011
1 answer
91 views
i'm using with the pie.
my ItemLabelFormat #%{P2} #XCAT becouse i want to display the category name.
my category name is enum, and i want to display the description by the enum.
Hou could i do that?
Petar Marchev
Telerik team
 answered on 08 Dec 2011
1 answer
116 views

Hi

i have problem following this scenario :

TreeView use LoadOnDemand and CheckList

1.  parent node checked;
2.  parent node expand;

i want to result that is all check of child node for parent node

but all not checked for checkbox for child node for parent node

how to do checked for all checkbox of child node for parent node??

thank you

Petar Mladenov
Telerik team
 answered on 08 Dec 2011
3 answers
156 views
hello,

I use a colorselector in a raddropdownbutton (on a ribbon), to select color for several objects.
i have a framework as described bellow.

I'd like that each time i click on "color" button, the selectedcolor is empty.
because i need to be able to apply the same color for different objects, and sometimes user doesn't select all at one time, but select one defines a color, the selects another object and want to define same color. then he needs to change color selection, then reopen colorselector to choose right color.

<Window x:Class="tlk_colorpicker.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <tlk:RadDropDownButton Content="Color"  x:Name="color">
            <tlk:RadDropDownButton.DropDownContent>
                <tlk:RadColorSelector  SelectedColorChanged="PredefSelectedColorChanged"    NoColorVisibility="Collapsed" />
            </tlk:RadDropDownButton.DropDownContent>
        </tlk:RadDropDownButton>
         
        <Rectangle x:Name="oRect" Width="50" Height="50" Grid.Row="2"  Fill="AliceBlue" />
    </Grid>
</Window>
private void PredefSelectedColorChanged(object sender, EventArgs e)
        {
            oRect.Fill = new SolidColorBrush(((RadColorSelector)sender).SelectedColor);
            color.IsOpen = false;
        }

thanks for your expertise
Aurore
Petar Mladenov
Telerik team
 answered on 08 Dec 2011
2 answers
207 views
Is there a way to customize the ToolTip placement for an item tooltip within the WPF RadChart?  It looks like it always uses MousePoint but I would like to have the tooltips shown above their source DataPoint.  Ideally I would like to specify a CustomPopupPlacementCallback similar to WPF ToolTips.

The WPF equivalent property is ToolTipService.Placement.  I did not see any similar properties on the ItemToolTip2D class.  I found a ChartTooltipBehavior class in the WPF documentation which was promising but it only appears to apply to Windows Phone.

Thanks for any help or suggestions that can be offered.
Steve
Top achievements
Rank 1
 answered on 08 Dec 2011
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?