Telerik Forums
UI for WPF Forum
8 answers
483 views

I have a bar series. I use the default setting. Now I want to customize the margins. See the expected image.

image

Do not worry about the bar color. I only need to set the margins. I have no idea to do it.

If you could post a sample project, that would be great. Thanks.

Trump
Top achievements
Rank 1
 answered on 08 Dec 2017
1 answer
627 views

Is there a simple way to get the text in a RadComboBox and a TextBox to be aligned?  Both controls are aligned but the text within the controls are slightly misaligned.

Thanks,

Bob

 

Sample XAML:

<Window x:Class="AlignmentIssue.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                Title="MainWindow" Height="350" Width="525">
        <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="45" />
            <RowDefinition Height="45" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <telerik:RadComboBox Grid.Column="0"
                             Grid.Row="0"
                             SelectedIndex="0">
            <telerik:RadComboBoxItem Content="Begin Item 1" />
            <telerik:RadComboBoxItem Content="Begin Item 2" />
        </telerik:RadComboBox>

        <TextBox Grid.Column="0"
                 Grid.Row="1"
                 Text="Begin Alignment Test" />

    </Grid>
</Window>

Sia
Telerik team
 answered on 08 Dec 2017
1 answer
127 views
I like the RadOpenFolderDialog, but you cannot select network paths, only local drives. Is this something that will be added in the next release? (For example \\Server\folder\)
Martin
Telerik team
 answered on 08 Dec 2017
3 answers
83 views

Hello Telerik Team

We are in the process of evaluating a schedule control. Now we encountered a problem with ScheduleView. AllDayArea is not displayed if first grouped by date (DateGroupDescription) and then by resource (ResourceGroupDescription) in the day view and week view.

groups.Add(new DateGroupDescription()); //TODO when comment out, AllDayArea is displayed
groups.Add(new ResourceGroupDescription
{
    ResourceType = "Department"
});

 

Here is a test project on my OneDrive account.

ScheduleView has many bugs concerning AllDayArea. I think it's time to fix them:

ScheduleView: When ShowWeekGroupHeaders property is set the ShowAllDayArea is rendered incorrectly.

ScheduleView: Arrow for continuing appointment is shown wrong

ScheduleView: Appointments with duration higher than a day are not rendered correctly when AllDayArea is shown and the visible days are filtered.

ScheduleView: Daily Reccurent appointments are not Displayed in the AllDayArea when we have Start and End time set

ScheduleView: When we have set Start and EndTime and AllDayArea, creating appointment from 12 to 12 on the next day is rendered in two days

In WeekView, when ShowWeekGroupHeaders="True" and we have AllDayArea the last appointment in it is not correctly rendered

When AllDayArea is enabled and all day appointments are created, switching the ViewDefinitions breaks the layout.

ScheduleView: ScheduleView does not render correctly when AllDayEvent with ShowAllDayArea

ScheduleView: AllDay appointments are not rendered consistently in MonthView and other Views

ScheduleView: When both EnableSmallAppointmentRendering and ShowAllDayArea properties are set to true, an all day Appointment with 0 duration is not rendered

ScheduleView: Appointment is not rendered correctly when the ShowAllDayArea="True" and the appointment is a few days long.

 

Regards,
Marco

Kalin
Telerik team
 answered on 08 Dec 2017
1 answer
77 views
I have a question about AdditionalData what is the purpose of it? Can we use it in our own way?
Vladimir Stoyanov
Telerik team
 answered on 08 Dec 2017
1 answer
103 views
I have a question about AdditionalData what is the purpose of it? Can we use it in our own way?
Vladimir Stoyanov
Telerik team
 answered on 08 Dec 2017
3 answers
355 views

Hi,

In the GridViewDragDropBehavior in the OnDragOver event handler, there does not seem to be a way to detect the dragged over row/item. I am trying highlight the dragged over row differently depending on the content of the dragged over row. So, for example, if row 1 cell 1 contains the words "Not on me" I would highlight the row with a red backcolor until they moved off of it and disallow drop. In the examples that I've seen they always show the CurrentDraggedOverItem to be the this.AssociatedObject, which is always the gridview itself. I want the specific row with that is being dragged over. Can I get there from here?

Thanks .... Ed

 

private void OnDragOver(object sender, Telerik.Windows.DragDrop.DragEventArgs e)
{
 
    var data = e.Data as DataObject;
    if (data != null && data.ContainsFileDropList())
    {
        return;
    }
 
    var draggedItem = DragDropPayloadManager.GetDataFromObject(e.Data, "DraggedData");
    var itemsType = (this.AssociatedObject.ItemsSource as IList).AsQueryable().ElementType;
 
 
    if (draggedItem.GetType() != itemsType)
    {
        e.Effects = DragDropEffects.None;
    }
 
    var dropDetails = DragDropPayloadManager.GetDataFromObject(e.Data, "DropDetails") as DropIndicationDetails;
    dropDetails.CurrentDraggedOverItem = this.AssociatedObject;
    dropDetails.CurrentDropPosition = Telerik.Windows.Controls.DropPosition.Inside;
 
    e.Handled = true;
}
Dinko | Tech Support Engineer
Telerik team
 answered on 07 Dec 2017
1 answer
400 views

Hi All

I have created buttons dynamically in vb.net using

 

Dim rb As New RadButton

 

How can I assign a click event to this button please?

Martin Ivanov
Telerik team
 answered on 07 Dec 2017
5 answers
91 views
I have a Pie Chart that has a ChartSelectionBehavior.  This allows me to create another Bar series based on the information from the selected Pie Chart slice.  In the area of my Bar Chart, I have radio buttons and a grid view.  Clicking on the radio buttons or selecting a row in the grid view causes the ChartSelectionBehavior event of the pie chart to fire.  What is the setting that I need to configure to prevent the behavior?
Martin Ivanov
Telerik team
 answered on 07 Dec 2017
2 answers
286 views

Hello,

I use RadPdfViewer to display a pdf document, i use a PdfViewer.Find() to extract text from document :

Could you please tell me if there's any way to :

- Recognize and Extract tables and their data from document.

- Reading special characters (bullet points, tick boxes, ...)

 

(I work on wpf project based on the c# language)

Thank you in advance

 

mohamed
Top achievements
Rank 1
 answered on 07 Dec 2017
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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?