cornerradius

Can you databind to CornerRadius via WPF Styles?

I have a Button style and can't seem to property databind the border's CornerRadius property to the template. This is a dependency property, so it should be data bindable. I wonder if I'm missing the right XAML syntax to use? <Style TargetType="{x:Type Button}" BasedOn="{x:Null}"> <Setter Property="FocusVisualStyle" Value=...

Scrolling Content Inside A Border With CornerRadius

I'm looking for help with a WPF problem I've been wrestling with for a while. I've styled a tab view, moving the tabs onto the left and displaying them vertically. These tabs sit inside a border with rounded corners at the top and bottom left. I'm running into a problem when the tabs are scrolled. Instead of the rounded corners clippi...

UITABLEVIEW comes to a crawl when adding a UIABEL with cornerRadius to each cell

I'm adding a UILabel to each cell in my table view. This presents no problem innitially. When I round the corners of the UILabel using layer.cornerRadius scrolling the table view grinds to a halt. UILabel *label1 = [[UILabel alloc] initWithFrame:CGRectMake(cell.bounds.origin.x+10 ,5, 30, 30)]; label1.backgroundColor = ([[managedObjec...

WPF: Button template w/ cornerRadius and Bevel looks wrong

I changed the ControrTemplate of a button, gave it a border with CornerRadius and BevelBitmpaEffect. Looks decent enough for the minimal effort. Put it on a colored background and then the problem becomes apperent. The corner where the lightangle is coming from there is a white snip with a right angle corner. Possibly coming from the li...

WPF CornerRadius turn the Corners to the outside

Im trying to make my own ControlTemplate for an menu. Id like to turn the corners of some items to the outside. So that it look like the Word TabItems, i cant post an image im sry. But i hope you understand what i mean. Is there a possibility to change the cornerradius like that? or are there other possibilitys? regards Mark ...