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

i add some Messages to a RadListBox in codebehind, using a Backgroundworker. If i start my application all ist fine.
But if i cklick on a button which starts the void again, i get all messages twice.

How can ein clear or remove all the items of my RadListBox before i start again?

radlistbos.Items.Clear(); - does not work

Or is there a  way to clear the Backgroundworker ReportProgress?

Thanks a lot
Best Regards
Rene
Polya
Telerik team
 answered on 12 Sep 2014
7 answers
217 views
Hi,

I have applied theme in App.xaml file as per following.

<Application x:Class="MainWindow"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:telerik="telerik"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
                <ResourceDictionary Source="/Accumatch.TaxPayment;component/Themes/Styles.xaml"/>
                <ResourceDictionary Source="/Accumatch.TaxPayment;component/Resources/Resources.xaml"/>
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colors.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>         
    </Application.Resources>
</Application>

I have got applied theme in all control in window instead of GridViewCheckBoxColumn of RadGridView.
I also got applied theme style in Header checkbox of RadGridView.

I have put GridViewCheckBoxColumn in RadGridView as per following.

 <telerik:GridViewCheckBoxColumn DataMemberBinding="{Binding Cleared}" Width="75" IsReadOnly="True" IsResizable="False"
                                                        IsFilterable="False" IsSortable="False" IsGroupable="False">
                            <telerik:GridViewCheckBoxColumn.Header>
                                <CheckBox x:Name="chkHeader" Click="CheckBox_Click" Content="Cleared" Foreground="Gray" HorizontalAlignment="Center"/>                                
                            </telerik:GridViewCheckBoxColumn.Header>                           
                        </telerik:GridViewCheckBoxColumn>

So I want to get style of GridViewCheckBoxColumn in all rows as like Header Checkbox as per attached image in RadGridView.

Any help will be much more appreciated.

Regrards,
Bharat Mendapara
Vanya Pavlova
Telerik team
 answered on 12 Sep 2014
3 answers
275 views
Hello,

I want to drag items from the Explorer (i.e. files) to wpf controls. But I have no idea how to set the drop preview line and the drag tooltip.

Is there a way to achieve this.

Thanks in advance.

Best Regards,
Martin
Kalin
Telerik team
 answered on 12 Sep 2014
3 answers
114 views
I have a RadGridView that contains a HierarchyChildTemplate creating another RadGridView for each item in my collection. The collection is of ClassA objects and ClassA contains a collection of ClassB objects and an identifier. I would like to share columns across all the children RadGridViews. ClassA is essentially a grouping of ClassB objects where I can perform some validation among other things. This is what I would like the grid to look like 

+ Instance of Class A
    b.A     b.B       b.C
    b.A     b.B       b.C
+ Instance of Class A
    b.A     b.B       b.C
    b.A     b.B       b.C

A treelistview almost does what I want but my tree is only one level deep and I would need a way to style the root parent row differently. I was hoping you might have some suggestions for how I can accomplish this. Thank you
Boris
Telerik team
 answered on 11 Sep 2014
5 answers
259 views
Hello everyone! How can I position the layout of controlpanelitem.content?
Boris
Telerik team
 answered on 11 Sep 2014
1 answer
348 views
We want to style the RadDocumentPane Header according to the style of our custom RadTabItem Style which uses the Corner Radius Property. For an example please take a look at the screenshots below.

Please let us know, if anybody has an idea or knows a solution for solving the Problem. 

Masha
Telerik team
 answered on 11 Sep 2014
1 answer
174 views
Hi,

When i press the Decimal key in Excel its readed as a decimal separator (in spanish culture a comma) but the radspreadsheet control inserts a dot instead.
Is there any way to make radspreadheet work this way? 


Thanks
Nikolay Demirev
Telerik team
 answered on 11 Sep 2014
2 answers
175 views
Hello,

when you try to reset the UseGlidingConnector property with a connection attached, an exception is thrown.
How can I (programmatically) find the corresponding connection, detach it from the gliding connector and attach it to a normal connector?
And for Undo-Functionality: how can I re-attach it to the gliding connector when performing an undo?

Alex
Alexander
Top achievements
Rank 1
 answered on 11 Sep 2014
1 answer
168 views
Dear Telerik Team!

I use templates for my appointments. There are few of them and each appointment template uses its own tooltip template. When I hover mouse over appointment, correct tooltip is displayed, but if the mouse hovers an edge of the appointment and the mouse cursor changes into resize "mode" (NS cursor), displayed tooltip is incorrect. Is there anything I can do about it?

Very best regards and thank you!
Krzysztof Kaźmierczak
Yana
Telerik team
 answered on 11 Sep 2014
1 answer
169 views
Hello,

I am using MVVM pattern for the Diagram implementation. What is the best way to prevent dragging the shapes out of the container?

Thanks,
Petar Mladenov
Telerik team
 answered on 11 Sep 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?