Telerik Forums
UI for WPF Forum
8 answers
607 views
Hello,

I need your help for a few RadProperty tweaks:

1) I auto-generate my property grids from all sorts of different objects. I need to set a data template that will help me "word wrap" all the string properties by default

2) I sometimes need to hide the "property names" section, how can I achieve that?

3) I want to hide the grey block to the left of the "property names" section, how can this be achieved?

I have attached a screenshot to better explain my requirements.

Many thanks!
Frank
Top achievements
Rank 1
 answered on 21 Oct 2019
8 answers
326 views

I'm getting an error dialog opening SDK Samples Browser:

Cannot connect to Telerik XAML-SDK GitBug repository. Possible reasongs:

- internet connection is not available

- GitHub.com is down for maintenance

Both assumptions are false.

How to fix this annoying dialog?

Mihaela
Top achievements
Rank 1
 answered on 18 Oct 2019
3 answers
132 views

Hello,

Look at the screen shot: the first entry is selected by the search, but it is not highlighted. It's because the "i" char has a special accent on it.

It seems that the logic between search and highlighting is not the same.

Dinko | Tech Support Engineer
Telerik team
 answered on 18 Oct 2019
7 answers
208 views

I want to disable all highlight in the RadAutoCompleteBox dropdown list. So I have HighlightBehavior.FindHighlightedIndex which returns -1. But, still one item in ItemsSource is highlighted. How can I fix it?

 

FYI: On entering EACH new character in the search text box, we are calling a web service which returns a list of recommended search strings from history. (This behavior is similar to google search box.) And we set that list to ItemsSource property. This service call takes a few milliseconds.

Observation: after hitting a new character in search box, FindHighlightedIndex is called, which returns -1, and after that, our service returns a new set of strings to be set in dropdown list, and that list is set to the ItemsSource property.  

 

Kindly suggest how to fix this.

Thanks.

 

Our code snippet below:

public class NoSuggestionItemHighlightBehavior : HighlightBehavior
{
    public override int FindHighlightedIndex (string searchText, System.Collections.IList filteredItems, IEnumerable<object> escapedItems, string textSearchPath, TextSearchMode textSearchMode)
    {
       return -1;
    }
}

 

<telerik:RadAutoCompleteBox x:Name="textBox_Search"
ItemsSource="{Binding AutoCompleteList}"
SelectionMode="Single"
TextSearchMode="Contains"
BorderThickness="0"
HighlightBehavior="{StaticResource NoSuggestionItemHighlightBehavior}"
SearchText="{Binding SearchText, Mode=TwoWay}">

Dinko | Tech Support Engineer
Telerik team
 answered on 18 Oct 2019
5 answers
300 views

Hi

How can I create a custom Hexagons RadButton with material style and effect?

Vicky
Telerik team
 answered on 18 Oct 2019
6 answers
209 views

Dear Telerik team,

We have a RadGridView with localised columns and we would like to use string that remain same for all localised value. In order to achieve we use UniqueName="Id" and Set AutomationProperties.AutomationId="{Binding UniqueName, RelativeSource={RelativeSource Self}}" but when we run application the Header which is a localised string always get precedence and we end up with header value.

Here is a code there we were using for defining columns

<telerik:GridViewDataColumn
                    x:Name="OrderId"
                    Width="auto"
                    AutomationProperties.AutomationId="{Binding UniqueName, RelativeSource={RelativeSource Self}}"                     DataMemberBinding="{Binding Id}"
                    Header="{x:Static resources:Resources.Id}"
                    Style="{StaticResource RightAlignedRadGridViewColumnStyle}"
                    UniqueName="OrderId">

Usman
Top achievements
Rank 1
 answered on 18 Oct 2019
1 answer
75 views

Hi,

Facing an strange issue, whenever i am trying to add a new row in the grid , the multi select filters starts showing empty value in the filter options, so from which event i can rectify this issue.

 

Help is appreciated. Attached the screenshot.

 

Dilyan Traykov
Telerik team
 answered on 18 Oct 2019
2 answers
232 views

Hi,

When I try to set the padding for the Row Header in my pivot grid it causes the row expand buttons to disappear? I need to adjust the padding so the text sits correctly (in the middle not bottom) of the row.

I have attached images showing the missing expand button. Should the RowHeaderStyle maybe based on a different style?

Thanks for you help!

 Dom

1.<pivot:RadPivotGrid x:Name="radPivotGrid1" Grid.Column="0" DataProvider="{Binding DataProvider}" AllowSelection="True" RowHeight="20" CellTextPadding="2" >
2.  <pivot:RadPivotGrid.RowHeaderStyle>
3.    <Style TargetType="pivot:PivotHeader" BasedOn="{StaticResource PivotHeaderStyle}">
4.      <Setter Property="Padding" Value="20 2 5 0"></Setter>
5.    </Style>
6.  </pivot:RadPivotGrid.RowHeaderStyle>
7.</pivot:RadPivotGrid>
Dom
Top achievements
Rank 1
 answered on 18 Oct 2019
1 answer
243 views
Is it possible to change the size of the thumbnails from code behind?
Martin
Telerik team
 answered on 17 Oct 2019
3 answers
518 views

I have the following .xaml and it correctly colorizes the foreground on specific items when a certain condition is met (Impinged = True).
However, when I select that item, it doesn't maintain the color. I attempted the following suggestion on this thread but it didn't work. Either because I am working with Telerik or something else.

I tried this but didn't work:

https://stackoverflow.com/questions/49936272/combobox-change-selected-item-background-color-by-trigger-condition

 

<telerik:GridViewDataColumn.CellTemplate>
  <DataTemplate>
     <telerik:RadComboBox
        x:Name="cbLowBand"
        DisplayMemberPath="Name"
        ItemsSource="{Binding DataContext.LowBandItems, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}"
        SelectedItem="{Binding SelectedLowItem, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
        Style="{StaticResource MyCustomStyle}"

        <telerik:RadComboBox.ItemContainerStyle>
       <Style TargetType="telerik:RadComboBoxItem">
              <Style.DataTriggers>
         <DataTrigger Binding="{Binding IsImpinged}", Value="True">
        <Setter Property="Foreground" Value="Red" />
        <Setter Property=ToolTip", Value="{Binding ImpingedTooltip}" />
         </DataTrigger>
      </Style.DataTriggers>
    </Style> 
    </telerik:RadComboBox.ItemContainerStyle>

       <!--other non related stuff>
       <telerik:EventToCommandBehavior.EventBindings>
     <telerik:EventBinding
              Command="{Binding DataContext.LowBandItem, RelativeSource=...........

Dimitar Dinev
Telerik team
 answered on 17 Oct 2019
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?