Telerik Radtextbox with round corners in VS2013 - visual-studio-2013

I am using a Radtextbox control in my vb2013 project. Was trying something new by rounding the radtextbox control. I used this piece of code to accomplish it but didn't worked. How can we achieve rounded corners for a RadTextbox control.
[Code]: Me.RadTextBox1.TextBoxElement.Shape = Telerik.WinControls.ElementShape.

Related

Issue rendering a line chart (Microcharts)

I am working on aligning a LineChart (from Microcharts library) in a xamarin forms application. As this chart does not have obvious properties for customization (or perhaps I am not aware of those right now), I am wondering how to achieve the following functionalities:
How to remove gaps around the chart?
How to give color to the point, I do not want to color a line?
How to remove the shaded area below the line (I just want a line and the points displayed on the chart)?
Code sample
Thank you

UWP - Custom non-rectangular hit area on button. Either image or shape

I would like to define a non-rectangular clickable "hit area" for a button. I am happy to define this custom shape using a UWP XAML path, or by using a PNG with transparent areas.
The following question explains how to use an XAML path for a button's appearance, but the result still seems to use a rectangular bounding box hit area. XAML UWP Button with a polygonal shape
There are also posts explaining how to override the Image class, intercepting the 'click' event, and determining the opacity of the pixels under the mouse cursor. This would solve my problem, but this solution only applies to WPF.
Does anyone know of a solution for UWP?
It looks like I can just use the raw < path > element, and use its pointer events directly.

How do you customize Hover Box shapes in Wix?

How do you customize the shape of the interactive hover box in Wix? I am wanting to make the box a 3 right angle pentagon with the other two angles the same degree.
Donnie:
Take a look at these articles on the hover box.
https://support.wix.com/en/article/creating-hover-box-effects
You may be able to find a vectorArt image in the images collection that you can add to the hover box
Sample Vector Art Images Available on Wix
You simply select the Add Element Menu item and then Shapes and then the "More Basic Shapes" link...
Adding Shapes in the Wix Editor
Now if you cannot find the shape you need then one approach would be to either create an image using an application like power point and upload that. Alternatively if you can create/find an SVG image that meets your need you can also use that:
Adding SVG images using the Wix Editor

How do you create a drop shadow in Xamarin Forms

How do you create a drop shadow on a button or label using Xamarin Forms. I am currently using Xamarin Forms 1.3 and trying to do this in XAML if possible. Does anyone have a working example they can point me to.
I have not tried this but you could create 2 instances of the same control and put them both inside a grid so that they lay directly over each other. Then with the first control (underneath) change the opacity to 0.2 so that it is very faint, then give it a small top and left margin so it sits slightly offset from the version above it. This should result in a drop-shadow type of effect.
A much better (but more involved) way of doing this is to subclass the controls you want to add the effect to and then create custom renderers to add the effect for each platform using native code

VB6 PictureBox Mouseover

I'm using a VB6 PictureBox on my User Control. I set the PictureBox's picture, I set the BorderStyle to 0, and I set the BackColor to the User Control's BackColor. The idea is that I want a "floating" icon. However, I want that icon to appear clickable when the mouse hovers over it.
Two questions:
Which events do I use? MouseMove seems to be the closest to a "MouseOver" event. Are there any cleaner alternatives?
How should I change the style? I've tried a few things, but none of them quite look right.
MouseMove is the correct event in VB6. You'll have to do some work to manually detect when the mouse leaves the client area cleanly. (My experiments in this world, lo those many years ago, always found implementing this behavior to be tricky.)
For changing the style, I'd recommend using GDI to: (a) shift the image one pixel up and to the left; (b) draw a single pixel line in the ButtonHighlightColor along the top and left edges; and (c) draw a single pixel line in the ButtonShadowColor along the bottom and right edges. This is trickier than it sounds, particularly in VB6, so ultimately I'd recommend ...
That you look at vbAccelerator's toolbar controls. They're free, and they'll probably get you most of where you want to be. (And yes, they're "classic" VB -- that is, VB6.)

Resources