Telerik Forums
UI for WPF Forum
1 answer
90 views
I'm looking at the GridView RowReorder demo, and I noticed something.

When I drag a row, I see a two-line tooltip-like box.  The first line provides info about the item being dragged and the second line info about the item it would be inserted before or after, if it was dropped at that moment.

I've figured out how to configure what is displayed in the second line of the tooltip, using the DragCueActionContentTemplate and DragCueTooltipContentTemplate properties of the RowReorderBehavior class.

But I've not been able to figure out how to configure what is displayed in the first line of the tooltip, the info about the item being dragged. It seems to be the result of Item.ToString(), which is usually not appropriate.

Is there a way of providing a template for the dragged item?
Dimitrina
Telerik team
 answered on 17 Feb 2012
1 answer
355 views
Before I do a bunch of work, I thought I'd verify a statement I've heard in other (older) posts.

I need to be able to open and print Xps files from a WPF application.  Does the RTB fully support this?  Also, these are the only functions we want available.  So, is there a way to hide the RTB tool bar except these functions?
Iva Toteva
Telerik team
 answered on 17 Feb 2012
3 answers
102 views
Hi All,

I am trying to apply linear scale to the left and right side of the Linear Bar.. In my linear gauge I want scale to appear like this:

Scale LinearBar Scale  But when I am taking two scales it is not showing any error as well as no output.. :(

Can anyone help?? Its urgent.. Please guys try this one..

Regards,
Swati
Swati
Top achievements
Rank 1
 answered on 17 Feb 2012
0 answers
180 views
Does anyone know if there is a WPF control or a way to template an existing control to have similar behavior to a LongListSelector? 
AdaDog
Top achievements
Rank 1
 asked on 16 Feb 2012
1 answer
404 views
I'm trying to set a specific style of watermark but the control seems to ignore some settings. 

For example if I set the FontStyle to Italic in the example below - it does not render as Italic.  However, changing the foreground color to crimson does work.

<t:RadWatermarkTextBox x:Name="FirstNameTextBox"
                       Grid.Row="0"
                       Grid.Column="0"
                       VerticalAlignment="Center"
                       HorizontalAlignment="Stretch"
                       Text="{Binding FirstName}"
                       ToolTip="First Name"
                       >
    <t:RadWatermarkTextBox.WatermarkContent>
        <TextBlock FontStyle="Italic" Foreground="Crimson">First Name</TextBlock>
    </t:RadWatermarkTextBox.WatermarkContent>
</t:RadWatermarkTextBox>

Thoughts?
Jordan
Top achievements
Rank 1
 answered on 16 Feb 2012
3 answers
183 views
Hello does anyone tried the Persistence Framework with Caliburn Micro?
with my initial tests I got a lot of index out of boundaries exception...
Thanks
Tina Stancheva
Telerik team
 answered on 16 Feb 2012
4 answers
173 views
Hi @ All,

how can i change the Header Background from a RadDataForm? Normaly it's black, but i can't find a property to change?!

Thanks
WW
ITA
Top achievements
Rank 1
 answered on 16 Feb 2012
0 answers
188 views
Hi,

I'm trying to bind IsEditable property of the RadCombobox using the following

The combobox is converted to edit mode actually but I cant type anything with the keyboard on the combobox to search

its binding to be true with MouseDoubleClick Event but it doesn't work

any advice...

thanks;

IsEditable="{Binding AccChartMain_IsEditableCommand,Mode=TwoWay}"
Hussein
Top achievements
Rank 1
 asked on 16 Feb 2012
4 answers
382 views
We have set the BringIntoViewMode to HeaderAndItems for a particular case and the result is not what I expect. Am I doing something wrong or is there a problem with the TreeView?

In an adapter (as we are building an MVVM application) we attach a handler to the ItemPrepared and LoadOnDemand events.

Originally it seemed logical to simply do the following in the LoadOnDemand event handler:

	var treeViewItem = (RadTreeViewItem) e.OriginalSource;
	treeViewItem.BringIntoView();

But of course should fail since technically the child nodes are not yet loaded.

Than I tried adding the following code to the ItemPrepared event handler:

	e.PreparedItem.BringIntoView();

This of course brings each child node into view as they are being "prepared", so that is also not the desired result. So finally I ended up with:

e.PreparedItem.ParentItem.BringIntoView();

But again no "items" were brought into view (even though in the ItemPrepared event the above code is called for each child node prepared).

Please let me know what I'm doing wrong!

Regards,
Roland
Roland Vonk
Top achievements
Rank 1
 answered on 16 Feb 2012
0 answers
1.3K+ views

Q1 2012 (version 2012.1.215)

February 15, 2012

BREAKING CHANGES
  • The ToggleButton inside the FilteringDropDown control has been replaced by a plain Button
  • Filtering API
In order to enable filtering for our GridViewExpressionColumn, we had to rewrite our entire filtering infrastructure from scratch. We have made as few breaking changes as possible, but some of them were inevitable, for which we would like to apologize. Here is the list of the breaking changes that you should be aware of. Do not hesitate to write us if you are having problems with upgrading your project. We will do our best to assist you.
  • The IFilteringControl.Prepare method now expects the more general type GridViewColumn instead of a GridViewBoundColumnBase as its argument. If you were relying on GridViewBoundColumnBase-specific methods or properties you will have to add a check and a cast
  • The GridViewDistinctValuesLoadingEventArgs.Column property is now of the more general type GridViewColumn. If you were relying on GridViewBoundColumnBase-specific methods or properties you will have to add a check and a cast in your DistinctValuesLoading event handler
  • The GridViewDataControl.GetDistinctValues family of methods now accept a GridViewColumn instead of an IDataFieldDescriptor as their first parameter
  • The EditorCreatedEventArgs.Column is now of the more general type GridViewColumn. If you were relying on GridViewBoundColumnBase-specific methods or properties you will have to add a check and a cast in your DistinctValuesLoading event handler
  • The FilterOperatorsLoadingEventArgs.Column property is now of type GridViewColumn instead of IDataFieldDescriptor
  • The ColumnFilterDescriptor class has been made internal. Use the IColumnFilterDescriptor interface instead. It contains all relevant properties and methods
  • You can't directly instantiate a ColumnFilterDescriptor anymore since the class has been made internal. When you access the GridViewColumn.ColumnFilterDescriptor property, it will be automatically created on demand by the column and you will be given an IColumnFilterDescriptor to work with. For example: IColumnFilterDescriptor cfd = myColumnInstance.ColumnFilterDescriptor;
  • The IColumnFilterDescriptor.Column property is now of type GridViewColumn instead of IDataFieldDescriptor
  • The IColumnFilterDescriptor.DistinctFilter property is now of type IDistinctValuesFilterDescriptor instead of DistinctValuesFilterDescriptor
  • The IColumnFilterDescriptor.FieldFilter property is now of type IFieldFilterDescriptor instead of FieldFilterDescriptor
  • The DistinctValuesFilterDescriptor class has been made internal. It is not supposed to be used directly from your code. Use the IDistinctValuesFilterDescriptor interface instead
  • The FieldFilterDescriptor class has been made internal. It is not supposed to be used directly from your code. Use the IFieldFilterDescriptor interface instead
  • If you were using code from the GridViewCustomSerialization PersistenceFramework example, please update it according to the updated example
  • The GridViewDataControl.OnFiltering method is marked as obsolete now. It is not supposed to be used directly from your code and will be made internal in a future realease
  • The GridViewDataControl.OnFiltered method is marked as obsolete now. It is not supposed to be used directly from your code and will be made internal in a future release.
  • Filtering a Column
    • Old Code:
      GridViewColumn ageColumn = this.radGridView.Columns["Age"];
      ColumnFilterDescriptor ageColumnFilter = new ColumnFilterDescriptor(ageColumn);
      // ...
      ageColumnFilter.DistinctFilter.DistinctValues.Add(5);
      ageColumnFilter.FieldFilter.Filter1.Operator = FilterOperator.IsLessThan;
      ageColumnFilter.FieldFilter.Filter1.Value = 10;
      // ...
      this.radGridView.FilterDescriptors.Add(ageColumnFilter);
    • New Code:
      GridViewColumn ageColumn = this.radGridView.Columns["Age"];
      // Getting it from the property will create it and associate it with its column automatically.
      IColumnFilterDescriptor ageColumnFilter = ageColumn.ColumnFilterDescriptor;
      ageColumnFilter.SuspendNotifications();
      // ...
      ageColumnFilter.DistinctFilter.AddDistinctValue(5);
      ageColumnFilter.FieldFilter.Filter1.Operator = FilterOperator.IsLessThan;
      ageColumnFilter.FieldFilter.Filter1.Value = 10;
      // ...
      // There is no need to manually add the column filter to this.radGridView.FilterDescriptors
      // When the column filter is activated/deactivated it is automatically added/removed to this collection.
      ageColumnFilter.ResumeNotifications();
  • Clearing a Column Filter
    • Old Code:
      this.radGridView.FilterDescriptors.Remove(columnFilterDescriptor);
    • New Code:
      // Calling ClearFilter will automatically remove filter descriptor from the grid.
      myColumn.ClearFilters();
  • Clearing All RadGridView Filters
    • Old Code:
      this.radGridView.FilterDescriptors.Clear();
    • New Code:
      this.radGridView.FilterDescriptors.SuspendNotifications();
      foreach (var column in this.radGridView.Columns)
      {
      column.ClearFilters();
      }
      this.radGridView.FilterDescriptors.ResumeNotifications();

Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>

Rossen Hristov
Telerik team
 asked on 16 Feb 2012
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
PersistenceFramework
DataPager
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?