radGridView1.Rows[e.RowIndex].Cells[5].Value.ToString();
in WPF, i cant
. THX
<
telerik:GridViewDataColumn Header="title" >
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<telerik:RadButton Content="{Binding Value}"
Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}},
Path=DataContext.X}"
CommandParameter="{Binding Number}"/>
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
</telerik:GridViewDataColumn>
Thanks.
Hi Telerik Team.
I have a problem with the rows using the RadGridView and implicit styles, I'll explain:
I have a RadGridView and when it is loaded and I click over a columns name to sort the rows everything is ok, the problem
arise when I added a rowstyle to highlight rows which contain specific data.
<
telerik:RadGridView.RowStyle>
<Style TargetType="telerik:GridViewRow" BasedOn="{StaticResource GridViewRowStyle}">
<Style.Triggers>
<DataTrigger Binding="{Binding Status}" Value="2">
<Setter Property="Background" Value="Red"/>
</DataTrigger>
</Style.Triggers>
</Style>
</telerik:RadGridView.RowStyle>
After add those lines when I click over the column name to sort, the rows disappear.
Please any help is really helpful. Thanks.
//Set Languagethis.Language = XmlLanguage.GetLanguage(CultureInfo.CurrentCulture.IetfLanguageTag);Hi,
We would like to implement a spin progress bar (see the attached image) into Tabs, Toolbars etc.
Could you give us info whether you have any or similar solution to this control in WPF?
Thanks,
Laszlo
<telerik:RadDropDownButton AutoOpenDelay="0:0:0.0" Grid.Column="1" Grid.Row="0" FlowDirection="RightToLeft" DropDownButtonPosition="Left" Visibility="{TemplateBinding SearchHistoryListVisibility}" KeepOpen="False" DropDownMaxHeight="170" IsOpen="{Binding IsSearchHistoryOpen, Mode=TwoWay}"> <telerik:RadDropDownButton.DropDownContent> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="{Binding SearchHistoryWidth}" /> </Grid.ColumnDefinitions> <ListBox Grid.Column="0" FlowDirection="LeftToRight" ItemContainerStyle="{StaticResource SearchHistoryItemStyle}" BorderThickness="0.25" BorderBrush="DarkGray" ItemsSource="{Binding Path=SearchHistoryList}" SelectedValue="{Binding Path=SelectedSearchQuery, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Stretch" /> </Grid> </telerik:RadDropDownButton.DropDownContent> </telerik:RadDropDownButton>
protected override void OnPositionChanged(Point oldPosition, Point newPosition) { base.OnPositionChanged(oldPosition, newPosition); Point newPoint = newPosition; if (newPosition.X > 0) { newPoint.X = 0; } if (newPosition.Y > 0) { newPoint.Y = 0; } //With the 4.0 DLL version, there is no problem to set the new position if (newPoint != newPosition) { this.Position = newPoint; } if (newPoint != newPosition) { //With the 4.5 DLL version, I need to invoke the method to get the same behaviour //but the diagram flikers Dispatcher.BeginInvoke(new Action(() => { this.Position = newPoint; }), DispatcherPriority.Render); } sh.SetText(((int)this.Position.X).ToString("") + " - " + ((int)this.Position.Y).ToString("")); }}