Telerik Forums
UI for WPF Forum
3 answers
247 views
Hi,

I need to get the current row's Index in rowLoaded event of Rad Grid.

Here is my code:
   private void ultraGridCaseList_RowLoaded(object sender, Telerik.Windows.Controls.GridView.RowLoadedEventArgs e)
        {
//  how to get the index of current row?
}

and please let me know Isn't there equivalent of RowDatabound Event in WPF-RadGrid as in  Asp.net ?

Thanks
Dimitrina
Telerik team
 answered on 22 Jun 2012
9 answers
382 views
Hi

Is it possible to show tooltip for particular dates in a month. I can set tooltip at control level but i need to set tooltip at an individual date level.

Thanks
Kiran
Michel
Top achievements
Rank 1
 answered on 22 Jun 2012
2 answers
96 views
How do you get the collection of rows that have been added to the TreeListView? Currently our usage of the TreeListView is to display data elements that we have converted from an older version to a newer version. Many of the elements in the TreeListView may have errors or warnings associated with the translation. Sometimes we want to see these elements displayed in the TreeListView, and sometimes we only want to see the successful ones, and sometimes we want to extract these errors and warnings and put them in a list control, so extraction is needed. Thank you for any recommendations that you have.
Bill
Top achievements
Rank 2
 answered on 22 Jun 2012
1 answer
249 views
Hi,

I would like to rise an event when a user click on a TextBlock located in the group header of my ScheduleView. Here is my XAML :

            <telerik:RadScheduleView.GroupHeaderContentTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding FormattedName}" Grid.Column="1" FontWeight="Bold" Width="100" HorizontalAlignment="Left" VerticalAlignment="Center">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="MouseUp">
                                    <commands:EventToCommand Command="{Binding TestCommand}" />
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                    </TextBlock>
                </DataTemplate>
            </telerik:RadScheduleView.GroupHeaderContentTemplate>

Nothing happen, and the TestCommand is never called in my ViewModel, could you tell me if this is possible, and if yes how to fire this event ? I tried other events than MouseUp and the result is the same.

Thanks for your help,
Doots
Yana
Telerik team
 answered on 22 Jun 2012
7 answers
323 views
Hi

I want to extend the default rich text box
context menu.
I'd like to add a new entry with a submenu entries,
when seelcting such an entry I want to fire some
command thatz inserts fragments into the rrtb doc.
How am I gonna do it?
From what I've read in the forums I need to
implement a custom "IContextMenuContentBuilder"
Is that correct?
And how can I do that without replacing the original ctx menu?

Chris
Robert
Top achievements
Rank 1
 answered on 22 Jun 2012
1 answer
157 views
Hello Telerik Team,

how can i hide the marked border (background of the RadDocument). If it is not possible to hide it, how can i change the color to white or transparant?



best regards

Martin Ivanov
Telerik team
 answered on 22 Jun 2012
3 answers
191 views
Now that the dropdown menu of the RadPaneGroup displays a list of the panes it contains, is it possible to add menu items to it?

Thanks in advance,
Steve
Vladi
Telerik team
 answered on 22 Jun 2012
1 answer
143 views
I want to change the picture writings of the buttons according to their own my language.
Sample : copy = kopyala  ,  delete = sil  etc..

Thanks
Metin

Petar Mladenov
Telerik team
 answered on 22 Jun 2012
1 answer
140 views
Hi,

   I want to show my label outside the Pie chart , currently it is showing above the pie chart.
  I want Pie chart like my attached file.

Please help.
Peshito
Telerik team
 answered on 22 Jun 2012
1 answer
271 views
Hello there!

I have a RadialGauge with various Needles and I need to customize each needle color. As I've defined a unique needle style, I couldn't set each color in a separated way. I tried setting Needle.Foreground and Needle.Background but it didn't work.

Could anyone help me?

BR
Guilherme Campos

---

            <!-- Region Radial Gauge Styles and Templates -->
 
            <!-- Region Radial Gauge Background -->
            <ControlTemplate x:Key="RadialGaugeBackground" TargetType="{x:Type ContentControl}">
                <Grid Width="{TemplateBinding Width}" Height="{TemplateBinding Height}">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="0"/>
                        <ColumnDefinition Width="*"/>
                        <ColumnDefinition Width="0"/>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="0"/>
                        <RowDefinition Height="*"/>
                        <RowDefinition Height="0"/>
                    </Grid.RowDefinitions>
                    <!--<Ellipse Stretch="Fill" Grid.ColumnSpan="3" Grid.RowSpan="3" Fill="LightGray" />-->
                    <Ellipse Grid.Row="1" Grid.Column="1" Stretch="Fill" Fill="Transparent" />
                    <Ellipse Grid.Row="1" Grid.Column="1" Stretch="UniformToFill" Fill="Transparent" Height="300" Width="300"/>
                    <Path Grid.Row="1" Grid.Column="1" Stretch="None" Fill="LightGray" Stroke="Transparent" StrokeThickness="0" HorizontalAlignment="Center" VerticalAlignment="Center">
                        <Path.Data>
                            <PathGeometry>
                                <PathFigure StartPoint="0,0">
                                    <LineSegment Point="0,2" />
                                    <LineSegment Point="265,2"/>
                                    <LineSegment Point="265,0" />
                                </PathFigure>
                            </PathGeometry>
                        </Path.Data>
                    </Path>
                    <Path Grid.Row="1" Grid.Column="1" Stretch="None" Fill="LightGray" Stroke="Transparent" StrokeThickness="0" HorizontalAlignment="Center" VerticalAlignment="Center">
                        <Path.Data>
                            <PathGeometry>
                                <PathFigure StartPoint="0,265">
                                    <LineSegment Point="2,265" />
                                    <LineSegment Point="2,0"/>
                                    <LineSegment Point="0,0" />
                                </PathFigure>
                            </PathGeometry>
                        </Path.Data>
                    </Path>
                </Grid>
            </ControlTemplate>
            <!-- End Region -->
 
            <!-- Region Radial Gauge Foreground -->
            <ControlTemplate x:Key="RadialGaugeForeground" TargetType="{x:Type ContentControl}">
                <Grid Width="{TemplateBinding Width}" Height="{TemplateBinding Height}">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="0.3*"/>
                        <ColumnDefinition/>
                        <ColumnDefinition Width="0.3*"/>
                        <ColumnDefinition/>
                        <ColumnDefinition Width="0.3*"/>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="0.25*"/>
                        <RowDefinition/>
                        <RowDefinition Height="0.25*"/>
                        <RowDefinition/>
                        <RowDefinition Height="0.25*"/>
                    </Grid.RowDefinitions>
 
                </Grid>
            </ControlTemplate>
            <!-- End Region -->
 
            <!-- Region Radial Gauge Needle -->
            <Style x:Key="NewNeedleStyle" TargetType="{x:Type telerik:Needle}">
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate>
                            <Grid Width="{TemplateBinding ActualWidth}" Height="{TemplateBinding ActualHeight}">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="{TemplateBinding ActualWidth}" />
                                    <ColumnDefinition Width="*" />
                                </Grid.ColumnDefinitions>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="{TemplateBinding ActualHeight}" />
                                </Grid.RowDefinitions>
                                <Grid Grid.ColumnSpan="2">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="*" />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="0.2*" />
                                        <RowDefinition Height="0.6*" />
                                        <RowDefinition Height="0.2*" />
                                    </Grid.RowDefinitions>
 
                                    <Grid Grid.Row="1" Grid.Column="1" Margin="0,0,0,0">
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="*"/>
                                            <ColumnDefinition Width="3*"/>
                                        </Grid.ColumnDefinitions>
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="0.2*" />
                                            <RowDefinition Height="0.6*" />
                                            <RowDefinition Height="0.2*" />
                                        </Grid.RowDefinitions>
                                        <Path Grid.Row="1" Grid.Column="0" Stretch="None" Fill="Black" Stroke="Transparent" StrokeThickness="0" HorizontalAlignment="Left" VerticalAlignment="Center">
                                            <Path.Data>
                                                <PathGeometry>
                                                    <PathFigure StartPoint="40,0">
                                                        <LineSegment Point="40,3" />
                                                        <LineSegment Point="160,3"/>
                                                        <!--<LineSegment Point="110,9"/>
                                                        <LineSegment Point="120,4.5"/>
                                                        <LineSegment Point="110,0"/>-->
                                                        <LineSegment Point="160,0"/>
                                                    </PathFigure>
                                                </PathGeometry>
                                            </Path.Data>
                                        </Path>
                                        <Path Grid.Row="1" Grid.Column="1" Stretch="None" Fill="Black" Stroke="Transparent" StrokeThickness="0" HorizontalAlignment="Left" VerticalAlignment="Center">
                                            <Path.Data>
                                                <PathGeometry>
                                                    <PathFigure StartPoint="0,3">
                                                        <LineSegment Point="0,9" />
                                                        <LineSegment Point="10,4.5"/>
                                                        <LineSegment Point="0,0"/>
                                                        <LineSegment Point="0,3"/>
                                                    </PathFigure>
                                                </PathGeometry>
                                            </Path.Data>
                                        </Path>
                                    </Grid>
                                </Grid>
                            </Grid>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
            </Style>
            <!-- End Region -->
 
            <!-- Region Radial Gauge Template -->
            <ControlTemplate x:Key="RadialGaugeTemplate" TargetType="{x:Type telerik:RadialGauge}">
                <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                    <Grid>
                        <ContentControl Template="{DynamicResource RadialGaugeBackground}"/>
                        <ItemsPresenter />
                        <ContentControl Template="{DynamicResource RadialGaugeForeground}"/>
                    </Grid>
                </Border>
            </ControlTemplate>
 
            <Style x:Key="RadialGaugeStyle" TargetType="{x:Type telerik:RadialGauge}">
                <Setter Property="Template" Value="{StaticResource RadialGaugeTemplate}" />
            </Style>
            <!-- End Region -->
 
            <!-- End Region -->
 
 
------------------------------------------------------------------------------------------------
 
            <!-- Region Radial Gauge -->
            <telerik:RadialGauge x:Name="radialGauge" Style="{StaticResource RadialGaugeStyle}" Width="300" Height="300" Background="White" >
                <telerik:RadialScale Min="-180" Max="180" SweepAngle="360" StartAngle="180" Radius="0.87" IsReversed="True" ShowLastLabel="True" ShowFirstLabel="False" MajorTickStep="30" >
                    <telerik:IndicatorList x:Name="RadialIndicator" >
                        <telerik:Needle x:Name="Needle0" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                        <telerik:Needle x:Name="Needle1" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                        <telerik:Needle x:Name="Needle2" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                        <telerik:Needle x:Name="Needle3" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                        <telerik:Needle x:Name="Needle4" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                        <telerik:Needle x:Name="Needle5" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                        <telerik:Needle x:Name="Needle6" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                        <telerik:Needle x:Name="Needle7" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                        <telerik:Needle x:Name="Needle8" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                        <telerik:Needle x:Name="Needle9" Style="{StaticResource NewNeedleStyle}" Visibility="Hidden" ></telerik:Needle>
                    </telerik:IndicatorList>
 
                    <telerik:RadialScale.MajorTick>
                        <telerik:MajorTickProperties TickWidth="0.01" Length="0.7" Background="LightGray"></telerik:MajorTickProperties>
                    </telerik:RadialScale.MajorTick>
 
                    <telerik:RadialScale.MiddleTick>
                        <telerik:MajorTickProperties TickWidth="0.01" Length="0.4" Background="LightGray"></telerik:MajorTickProperties>
                    </telerik:RadialScale.MiddleTick>
 
                    <telerik:RadialScale.MinorTick>
                        <telerik:MajorTickProperties TickWidth="0.01" Length="0.2" Background="LightGray"></telerik:MajorTickProperties>
                    </telerik:RadialScale.MinorTick>
 
                    <telerik:RadialScale.Label>
                        <telerik:LabelProperties Foreground="Gray"></telerik:LabelProperties>
                    </telerik:RadialScale.Label>
 
 
                </telerik:RadialScale>
 
            </telerik:RadialGauge>
            <!-- End Region -->
Andrey
Telerik team
 answered on 22 Jun 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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?