Hello,
setting the TodayButtonVisibility of the RadDatePicker to Visible seems to hide the close button of the control. Is there a way to have both buttons visible ?
Regards,
Hans
Hi
We are splitting a single data set between 2 radgridviews and separating the data using programmatic column filters. If column filtering is enabled, the distinct values will display all the values, even the ones that are being filtered out. so...
Is it possible to remove or control what distinct values the user can see?
Thanks!
When I change column header from longer to shorter one, the width not change
here is demo:
first a BindingData to transfer Header property to GridViewColumn Header property:
sealed
class
BindingData : Freezable
{
protected
override
Freezable CreateInstanceCore()
{
return
new
BindingData { Data =
this
.Data };
}
public
object
Data
{
get
{
return
(
object
)
this
.GetValue(DataProperty); }
set
{
this
.SetValue(DataProperty, value); }
}
public
static
readonly
DependencyProperty DataProperty =
DependencyProperty.Register(
"Data"
,
typeof
(
object
),
typeof
(BindingData));
}
ViewModel:
sealed
class
ViewModel : ViewModelBase
{
private
string
header =
""
;
public
string
Header
{
get
{
return
this
.header; }
set
{
if
(
this
.header != value)
{
this
.header = value;
NotifyPropertyChanged(
"Header"
);
}
}
}
public
IEnumerable<
string
> HeaderSource
{
get
{
return
Enumerable.Range(1, 3)
.Select(item =>
"Header "
+ item)
.Concat(Enumerable.Range(3, 5)
.Select(item =>
"Very Very Very Long Header "
+ item));
}
}
public
IEnumerable<
string
> RowSource
{
get
{
return
Enumerable.Range(1, 16)
.Select(item =>
"Data "
+ item);
}
}
}
View:
<
StackPanel
>
<
StackPanel.Resources
>
<
local:BindingData
x:Key
=
"HeaderBindingData"
Data
=
"{Binding Header}"
/>
</
StackPanel.Resources
>
<
ComboBox
ItemsSource
=
"{Binding HeaderSource}"
SelectedValue
=
"{Binding Header, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
/>
<
telerik:RadGridView
ItemsSource
=
"{Binding RowSource}"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding}"
Header
=
"{Binding Data, Source={StaticResource HeaderBindingData}}"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
</
StackPanel
>
Telerik.Windows.Controls.GridView.dll version is under 2014.2
Hello,
I am trying to create a way to move rows up or down depending on user selection from the Context Menu.
Here are my XAML and C# code, and for some reason (still trying to figure out), the IndexOf is returning -1 =>
<telerik:RadGridView x:Name="gridView1" Grid.Row ="1" AutoGenerateColumns="False" Margin="0,5,0,10" FontSize="12" Deleted="OnDeletedIO" Deleting="OnDeletingIO" telerik:StyleManager.Theme="Summer" DataGridCell.GotFocus="DataGrid_CellGotFocus">
Hi,
I am using RadDiagram to display a list of hexagons grouped in containers. The hexagons are displayed in the order that I add them to containers,
however the containers do not respect the order they are added when using AutoLayout.
Is there a way to use autolayout but still respect the order the items were added? (Top left to bottom right order).
The filtering menu cuts the value whenever the values are too long for the width of the menu and I can't quite figure out why. (I attached a screenshot of one of the filtering menu)
What can I do to get the filtering menu to show the entire values?
Thank you for your help
My RadPolarChart represents an antenna radiation pattern. I need to draw an annotation relative to the origin. How can I do this? My radial axis is NumericRadialAxis but I cannot seem to figure out the origin value, and PolarCustomAnnotation wants polar and radial coordinates.
The attached image represents an antenna mounting image. i want to center the small ellipse around the origin. I'm using a DrawingImage in XAML to define the geometry.
Thanks.
-John.