Telerik Forums
UI for WPF Forum
1 answer
162 views

Hi,

I want to modify the height of the period zone and change the font size. (see screenshot).

How can I increase or decrease the size of this part only?

Jean

 

Martin Ivanov
Telerik team
 answered on 24 Oct 2016
1 answer
87 views

Hello,

How can i get listlevel value from a numbered or bulleted list. I want to iterate through every list members and get the max listlevel from it. thanks in advance.

Deri.

deri
Top achievements
Rank 1
 answered on 24 Oct 2016
12 answers
195 views

Hi,

After the installation of Windows 10 Anniversary Update (1607) we observed that the rendering of the SchedulerView control in our application is broken. Especially the display of Resources is affected (e.g. Resource headers are multiplied randomly on the whole control). We installed the .NET 4.6.2 on some older system and got the same problem. I found information about the changes in .NET 4.6.2 https://msdn.microsoft.com/en-US/library/ms171868(v=vs.110).aspx#WPF462. It seems the guys at Microsoft did some changes to the group sorting area. My question is - did anyone experience similar issues after the recent updates? Any hints are appreciated.

Kalin
Telerik team
 answered on 24 Oct 2016
2 answers
192 views

Hi, I have some RadPanes in a RadPaneGroup, and I want to change one of the RadPane's order,  just like to the first tab position or somewhere. How to do it? 

Thanks

Jonathan
Top achievements
Rank 1
 answered on 22 Oct 2016
2 answers
152 views

Hi, I use databinding for the radtreeview itemsource, and it's easy to get the xmlelement of the radtreeview's item. I want to expand the readtreeview's item , how to do it when I only know the xmlelement?

Thanks

Jonathan
Top achievements
Rank 1
 answered on 22 Oct 2016
4 answers
296 views

hi dear telerik team

assume i have a property like the below:

[RefreshProperties(RefreshProperties.All)]
public MyType MyProperty
{
 get
 {
  return _myProperty;
 }
 set
 {
  _myProperty=value;
   RaisePropertyChanged("MyProperty ");
 }
}
 
public bool OtherProperty2
{
 get
 {
  return _otherProperty2;
 }
 set
 {
  _otherProperty2=value;
  if(value)
  {
    MyProperty = new MyType();
  }
  else
  {
    MyProperty = null;
  }

   RaisePropertyChanged("OtherProperty2");
 }
}

well MyProperty defaults to null so what i see at the begining in the property grid is:

MyProperty
OtherProperty2      false;
OtherProperty3
OtherProperty4

then when i set OtherProperty2 to true the property grid must look like this:

+ MyProperty
OtherProperty2      true;
OtherProperty3
OtherProperty4

and vice versa. but this doesnt happen! and for this to happen i am forced to do something to manualy refresh the property grid like switching between the A-Z view and GroupView

note that MyProperty has browsable properties like Name and LastName in it.

thank you very much in advance for your help
Ivan Ivanov
Telerik team
 answered on 21 Oct 2016
0 answers
94 views
Hi,
How can I put a multi-line paragraph in a table cell?
And how can I change the color of the background and foreground of each cell of table and also a sample page of a RadRichTextBox page.
Media
Top achievements
Rank 1
 asked on 21 Oct 2016
0 answers
118 views

Hello, I have questions.

     1. How can I type Arabic numbers in RadRichTextBox? The numbers are always English although the key board is in Arabic mode.

     2. How can I write a code to add a bullet with the character which is appended in the first attachment?

     3. Actually I have to have a kind of bullet which has a vertical line for entire bullet-paragraph and has the first-appended character for each bullet (as it can be figured in second attachment? How can I do this and set the color of the vertical line and bullet?

 

Thanks

 

Media
Top achievements
Rank 1
 asked on 21 Oct 2016
4 answers
254 views

Hi,

   I have one of the property type Collection,by default collectioneditor template is applying but I want to change EditorStyle to none instead of modal.When I try to do this

 

        [Telerik.Windows.Controls.Data.PropertyGrid.Editor(typeof(Telerik.Windows.Controls.Data.PropertyGrid.CollectionEditor),Telerik.Windows.Controls.Data.PropertyGrid.EditorStyle.None)]

public ObjectCollection Properties
       {
           get
           {
               if (m_PropertiesSet == false)
               {
                   m_Properties.AddRange(Properties);
                 
               }
              
               return m_Properties;
           }
       }

 

The Collection window is coming as empty.How to achieve this,i just want to change the editor style.?

Regards,

Nagasree.

 

Martin
Telerik team
 answered on 21 Oct 2016
7 answers
561 views

Hello everyone

I got a radgridView  with an autogeneratingColumn to false

<telerik:RadGridView Margin="8,10,8,32.96" ShowGroupPanel="False" CanUserReorderColumns="False" CanUserDeleteRows="False" CanUserInsertRows="False" CanUserResizeRows="False"
                        CanUserSortColumns="False" CanUserFreezeColumns="False" CanUserResizeColumns="False" RowIndicatorVisibility="Visible" ItemsSource="{Binding Files}" SelectedItem="{Binding SelectedFile}"
                        AutoGeneratingColumn="GridViewDataControlOnAutoGeneratingColumn" IsFilteringAllowed="True" PreparingCellForEdit="GridViewDataControl_OnPreparingCellForEdit" />

This radGidview show some line with some column Checkbox (not fix column count, depend on data), see attached file. My goal is when user double click header row, all row checkbox will be checked, and the best of the best would be I could put a row checkbox in the header row but I don't think it's possible.

I also tried to put some command line like a button column but I can't get the right selected row when button is first clicked.

See below for the autogenerating column event :

Private Sub GridViewDataControlOnAutoGeneratingColumn(sender As Object, e As GridViewAutoGeneratingColumnEventArgs)
    Dim dataColumn = TryCast(e.Column, GridViewDataColumn)
 
    If (dataColumn Is Nothing) Then Return
 
    If (e.Column.UniqueName = "FileName") Then
      e.Column.Header = "File Name"
      e.Column.DisplayIndex = 0
      e.Column.Width = 200
    ElseIf (e.Column.UniqueName = "AssignedTag") Then
      Dim column = New GridViewComboBoxColumn()
      column.DataMemberBinding = CType(e.Column, GridViewDataColumn).DataMemberBinding
      column.ItemsSource = CType(Me.DataContext, FileViewModel).AcceptedTags
      column.Header = "Assigned Tag"
      column.DisplayIndex = 1
      column.Width = 200
      column.IsFilterable = False
      e.Column = column
    Else
      Dim checkBoxColumn = New GridViewCheckBoxColumn()
      checkBoxColumn.DataMemberBinding = dataColumn.DataMemberBinding
      checkBoxColumn.Header = dataColumn.Header
      checkBoxColumn.UniqueName = dataColumn.UniqueName
      checkBoxColumn.EditTriggers = GridViewEditTriggers.CellClick
      checkBoxColumn.AutoSelectOnEdit = True
      checkBoxColumn.Width = 50
      checkBoxColumn.HeaderTextAlignment = TextAlignment.Center
      checkBoxColumn.TextAlignment = TextAlignment.Center
      Dim sty As New Style(GetType(GridViewCell))
      sty.Setters.Add(New Setter With {.Property = GridViewCell.HorizontalContentAlignmentProperty, .Value = HorizontalAlignment.Center})
      checkBoxColumn.CellStyle = sty
 
      e.Column = checkBoxColumn
    End If
 
    Dim binding = New Binding("IsInEditMode")
    binding.Converter = Me._invertedBooleanConverter
 
    e.Column.SetBinding(Telerik.Windows.Controls.GridViewColumn.IsReadOnlyProperty, binding)
  End Sub

So how Can I got a double click on header row or insert a checkbox into header row ?

thansk

Regards

JC
Top achievements
Rank 1
 answered on 21 Oct 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?