Telerik Forums
UI for WPF Forum
5 answers
540 views
Hi,

I'm trying to use the RadPropertyEditor for the first time. I have a simple business object with 5 Color properties. The RadPropertyEditor shows a standard TextBox (not a RadColorPicker) and if I try to update the color hexa the new value is not pushed back to my business object. I then try to use an EditorTemplate by intercepting the AutoGeneratingPropertyDefinitions event and set the Editor property. However I'm not able to figure out how my DataTemplate should like. The Rad WPF example use this:

...
<DataTemplate x:key=foregoundTemplate>
   <telerik:RadColorPicker SelectedColor={Binding Path=Foreground ...
...

This is not very extensible since the editor template needs to know the path of the property it's bind to. I don't want to make an editor for each of my 5 properties.

Do I missing something?

Thanks
Ivan Ivanov
Telerik team
 answered on 16 Jun 2014
1 answer
250 views
I have the ItemsSource of a VisualizationLayer bound to a collection of LineData.  I have the MapShapeFill of the VisualizationLayer bound and it is used by the VisualizationLayer when first rendering the collection of LineData.  If I change the property MapShapeFill is bound to, the VisualizationLayer picks up this change; however, the rendered LineData does not re-render (this is somewhat expected).  However, if I remove that VisualizationLayer and create a new VisualizationLayer and set its ItemsSource to the same collection of LineData, it still uses the old MapShapeFill (as was initially set on the original layer), which seems to suggest that the RadMap is holding on to the controls it creates for this collection of LineData even if the VisualizationLayer is removed. 

So, I have to create a new collection of LineData in order for the new MapShapeFill to be applied.

Is there anyway to get a VisualizationLayer to apply a new MapShapeFill to its ItemsSource (i.e. the collection of LineData) without generating a new ItemsSource?
Andrey
Telerik team
 answered on 16 Jun 2014
1 answer
136 views
Hi,

I have a Rad Map control onto which is displayed a group of 5 circles. These circles represent contour lines around a central point. Each contour lines is equally distanced from its neighbours. Radius values (that is, the distance from the central point to each contour line) are shown on the edge of each contour line.

I also have a Rad Slider for changing the zoom level of the map.

Every time the user changes the zoom level, layout of contour lines is refreshed and radius values are recalculated accordingly. You can see this behaviour in the attached file.

I would like to change the look of the ticks of my slider so that, next to each tick, the expected future radius value of the largest of the circles is displayed.
Each time the zoom level changes, all radius values (including the largest one) are calculated using the GeographicalBound property.

If I could "preview" the GeographicalBounds resulting of zooming directly to each level, it would be wonderful. Is there a way to know, in advance (that means, without actually changing the zoom level), what the map's GeographicalBounds will be for each zoom level?

Thanks,

Sebastien
Andrey
Telerik team
 answered on 16 Jun 2014
3 answers
341 views
Hello,

We'd like to make Multi-dimensional Swimlanes such as the attached image.
Let me know if you can realize the following.

- Both of horizontal lanes and vertical lanes contain nodes like the RadDiagramContainerShape.

I am looking forward to hearing from you.
Zarko
Telerik team
 answered on 16 Jun 2014
11 answers
443 views
I'm writing a multi-user application with WPF and I need the Rad Gridview to maintain fresh data as it may be changed by other users.  I'm using VB.NET and an ADO .NET entity for the business object.  How can this be done?
Nick
Telerik team
 answered on 16 Jun 2014
24 answers
183 views
Hi,

I'm looking for a control who can react like the address bar in IE 11. I mean having an autocomplettion and a kind of dropdown which can have grouping functionalities, expand or not  the existing groups, highlighting portion of text, etc...

I don't know if I can do it with this control or any other existing controls in Telerik...

Thank's
Alain
Rosen Vladimirov
Telerik team
 answered on 16 Jun 2014
1 answer
448 views
Hello there,

I want to add button click event to a button present in the Resource Dictionary (Generic.xaml) of a custom radShape 

<Style TargetType="{x:Type local:SideView}">
        <Setter Property="BorderBrush" Value="Black"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Height" Value="50"/>
        <Setter Property="Width" Value="100"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type local:SideView}">
                    <Grid Background="{TemplateBinding Background}">

                        
                        <Rectangle Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}" 
                                   Height="{TemplateBinding Height}"
                                   Width="{TemplateBinding Width}"/>
                        
                         <Button  HorizontalAlignment="Right" Height="20" Width="20" Visibility="{Binding RelativeSource={RelativeSource TemplatedParent}
                                                                                            ,Path=ButtonVisiblity,Mode=TwoWay}" 
                                  Click="Button_Click" Margin="5" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>    How can i do that???



Martin Ivanov
Telerik team
 answered on 16 Jun 2014
5 answers
229 views
Here I have a TabControl with TabItem content is GridView, I switch to the Tab that contain GridView the scroller Is okay but then after I switch to between other tabs and switch back to it again the GridView won't scroll, this behavior only happen when using touch with mouse scroll is fine it works, any suggestion.? 
Nick
Telerik team
 answered on 16 Jun 2014
4 answers
161 views
I am trying to achieve a layout as shown in the attached image. I want two cells to be stacked to save on horizontal real estate. I've looked at some examples, but all of them lose the row headers. I want the row headers to maintain sorting and filtering capabilities.

I'm hoping that this is possible with the RadGridView, because it is a pretty glaring deficiency if not. Any help is appreciated.
Nick
Telerik team
 answered on 16 Jun 2014
1 answer
1.4K+ views
I have seen that this is possible with WinForms control, but I cannot find a way to do this for WPF RadListBox.
How can I fix the width of RadListBox items?
Polya
Telerik team
 answered on 16 Jun 2014
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?