Telerik Forums
UI for WPF Forum
1 answer
232 views
In my tileview I want the user to be able to rearrange any of the tiles except for the very first tile. How can I achieve this?

Is there any sort of property on the tile that can prevent the tile from moving?

 

My tiles Position property is bound to a property in the entity the tile represents. I have tried putting logic in the property set to prevent changes if the position is 0, but that is preventing ANY of the tiles from changing position

 

    <Style TargetType="{x:Type telerik:RadTileViewItem}">
        <Setter Property="Position" Value="{Binding Path=DisplayIndex, Mode=TwoWay}" />
    </Style>

    public int DisplayIndex
    {
        get { return DisplayIndex; }
        set
        {
            if (m_DisplayIndex !=0 && value != DisplayIndex && value > 0)
            {
                m_DisplayIndex = value;
            }
            NotifyPropertyChanged("DisplayIndex");
        }
    }

 

Any ideas or insight? thanks!

Dinko | Tech Support Engineer
Telerik team
 answered on 16 May 2017
2 answers
169 views

Hi,

All I want to do is have the text of the chosen date right aligned in the textbox. I've tried all the different alignment and content alignment options I can think of and nothing works. Can someone please share the magic sauce?

Thanks .... Ed

 

 

<telerik:RadDateTimePicker x:Name="txtOpenDate" Width="175" Grid.Row="4" Grid.Column="1" HorizontalAlignment="Left"
 
                       CalendarStyle="{StaticResource calendarStyle}"                                   
                       InputMode="DatePicker" SelectedValue="{Binding OpenedDate, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged }"/>
Randy Hompesch
Top achievements
Rank 1
 answered on 16 May 2017
6 answers
696 views
Hi,

I want to disable the button part of the RadRibbonSplitButton, if the default action is not valid. But at the same time some of the actions in the drop down part are valid. But when I disable the RadRibbonSplitButton, the dropw down "button" is disabled too. So the user can't choose an action from the dropdown.
 
Is it possible to disable the button, but enable the dropdown?

Erik    
Jiri
Top achievements
Rank 1
 answered on 16 May 2017
2 answers
269 views

Hello,

I am having difficulties in creating a RadCartesianChart Series Provider with a chart type of ScatterSplineSeries. In overview website (http://docs.telerik.com/devtools/silverlight/controls/radchartview/features/chartseriesprovider#overview), it states that to use ScatterSplineSeries, I need to use the ScatterSeriesDescriptor. But for some reason, the plot is not showing. I am just randomizing the data points in the viewmodel. If i remove the Style section, it is able to plot a Scatter Series. How do I go about to plot a Scatter Spline Series?

01.<telerik:RadCartesianChart Margin="10">
02. 
03.               <telerik:RadCartesianChart.HorizontalAxis>
04.                   <telerik:LinearAxis />
05.               </telerik:RadCartesianChart.HorizontalAxis>
06. 
07.               <telerik:RadCartesianChart.VerticalAxis>
08.                   <telerik:LinearAxis />
09.               </telerik:RadCartesianChart.VerticalAxis>
10. 
11.               <telerik:RadCartesianChart.SeriesProvider>
12.                   <telerik:ChartSeriesProvider Source="{Binding Data}">
13.                       <telerik:ChartSeriesProvider.SeriesDescriptors>
14. 
15.                           <telerik:ScatterSeriesDescriptor ItemsSourcePath="TransmitCharacterizationItems"
16.                                                            XValuePath="XValue"
17.                                                            YValuePath="YValue">
18. 
19.                               <telerik:ScatterSeriesDescriptor.Style>
20.                                   <Style TargetType="telerik:ScatterSplineSeries">
21.                                       <Setter Property="Stroke" Value="Blue" />
22.                                       <Setter Property="StrokeThickness" Value="1" />
23.                                   </Style>
24.                               </telerik:ScatterSeriesDescriptor.Style>
25. 
26.                           </telerik:ScatterSeriesDescriptor>
27.                       </telerik:ChartSeriesProvider.SeriesDescriptors>
28.                   </telerik:ChartSeriesProvider>
29.               </telerik:RadCartesianChart.SeriesProvider>
30.           </telerik:RadCartesianChart>

 

1.public class SeriesViewModel
2.    {
3.        public string SeriesType { get; set; }
4.        public ObservableCollection<TransmitDataItem> TransmitCharacterizationItems { get; set; }
5.    }

 

1.public class TransmitDataItem
2.    {
3.        public double XValue { get; set; }
4.        public double? YValue { get; set; }
5.    }
Dinko | Tech Support Engineer
Telerik team
 answered on 16 May 2017
7 answers
374 views

Hi,

I am trying to figure out how to show rows and/or columns in the PivotGrid whose cells are empty, so if I have a list of products from an OLAP cube selected, and there are no values for these products with the selected measure(s) - the grid returns no cells and no rows, so I only see the grand total line and nothing else. 

I would prefer all the selected data to be returned. Most pivot grids have an option to toggle this on or off, but I can't seem to find how to do this on the PivotGrid. 

 

Can someone please advise? 

 

Thanks

Polya
Telerik team
 answered on 16 May 2017
1 answer
134 views

Hi to all,

I would add shape that has a big scale, for example 15.000 x 2.440 millimeters.

I don't use Diagram for its native scope, but I would use it for plane a big object. This because these one its measures stored into database.

I wouldn't convert value in little scale.

Can I change scale of diagram to use these values ?

Dinko | Tech Support Engineer
Telerik team
 answered on 16 May 2017
3 answers
138 views

Jump to other columns on edit mode

I need to evaluate the cell value of the column 1 and then jump to column 4.

If i change the currentcolumn on the cellvalidating or celleditended functions the Grid doesn't focus the column 4

Thanks,

 

 

 

 

Stefan
Telerik team
 answered on 16 May 2017
4 answers
262 views

I created a setup that closely matches the MVVM examples on http://docs.telerik.com/devtools/wpf/controls/raddiagram/populating-with-data/data-databinding. The RadDiagram is populated via a Graphsource. Peeking at the behind-the-scenes, it looks like the diagram wrap each item of the InternalItems collection in a RadDiagramShape to display it. How do I actually access those RadDiagramShape objects for each node so that I can manipulate it via code?

Matthias
Top achievements
Rank 1
 answered on 16 May 2017
1 answer
289 views

Hello!

I want not to completely cancel a SelectionChanging event in the GridView but instead just modify AddedItems (remove some of them that are not fitting to the previously selected items). It should look like a normal selection via drag and drop, just with some unselected items in beetween.

Martin Ivanov
Telerik team
 answered on 15 May 2017
6 answers
507 views

Hi Telerik,

We have column data where values are coming in as integer values of 0 or 1 and we are using a converter (using convert and convertback) to convert the 0/1 values to "Y/N" (i.e. simple type to simple type).

The converter is working well, however, the default Filter Control is showing the values "N/N". The filter should be showing "Y/N" or "N/Y" values, instead.

Please find the XAML for the GridViewComboboxColumn below, bound using MVVM.

...

<telerik:GridViewComboBoxColumn DataMemberBinding="{Binding AnIntegerColumn, Converter={StaticResource IntegerToYNConverter}}" Header="AColumn" Width="80">
                    <telerik:GridViewComboBoxColumn.ItemsSource>
                        <x:Array Type="{x:Type sys:String}">
                            <sys:String>Y</sys:String>
                            <sys:String>N</sys:String>
                        </x:Array>
                    </telerik:GridViewComboBoxColumn.ItemsSource>

</telerik:GridViewComboBoxColumn>
...

Could you please advise?

 

Kind regards.

p.s. If there is a way to make this link fit our approach, please also advise: http://www.telerik.com/blogs/filtering-gridviewcomboboxcolumn-in-radgridview-for-wpf

Stefan
Telerik team
 answered on 15 May 2017
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?