I have a web app only compatible with ie7. IE developer toolbar has been really helpful, but it stopped working correctly only for a few pages. The feature that no longer works is the "Find by click" option. Precisely the one that speeds up my work.
I started to use another options, like firebug lite, and other js bookmarklets, but they'...
Here's the conundrum. In two different places in my application, I use a border with the exact same appearance. In an never-ending fight against code bloat and unmanageable code, I want to define the border's appearance in a style to use when I create the border. Strangely, several of the properties I set are being ignored.
Here's the c...
Hi,
I'm having an issue with the ContentPresenter behaving unexpectedly based on whether the styles are located in the Window.Resources or in a ResourceDictionary. Specifically, I'm setting the Foreground of the default TextBlock to Black, then setting the Foreground value in my default button style to White.
If the styles exits on the...
I'm iterating through the controls in a dialog and I'm trying to determine if a combobox was created with the WS_VSCROLL style.
The style, obtained from GetWindowLong(hwnd, GWL_STYLE), doesn't contain the WS_VSCROLL bit (0x200000), even when I know it was set on create.
Clarification: I am looking to see if the ComboBox was created ...
I am creating a UserControl in Silverlight 4 which has a watermarked background.
The watermark should change depending on the underlying 'type' the UserControl is representing.
The watermark is created using a Path and I have extracted all the properties into a style.
I was wondering if it would be possible to change the style of the ...
Hi all.
I have issue wuth firefox not displaying style "text-decoration: line-through".
I am using jqGrid for displaying list of medications. If medication is not active, it has to be crossed. In my afterInsertRow event i do this:
$('#' + rowid).css({ 'text-decoration': 'line-through', 'color': 'red' })
It works fine for IE and Chr...
Is Firebug or IEDevtoolbar capable of distinction between Inline / External stylesheet styling? If not, is it possible to write a tool that is capable to distinct inline styling from styles from a stylesheet?
...
I was going to "nest" the CSS ids like this
#content #caption { color: teal }
...
#footer #caption { margin: 2em 1em }
because that's the way SASS (a CSS generator) can do nesting for... but then in one HTML document, we cannot have two ids with the same name, isn't that true, so the above nesting won't work or won't work well. (e...
I'd like to set a style on all my TextBox controls that does the following when it receives keyboard focus:
1) Change the background color
2) Call .SelectAll() to highlight all text
I have this so far:
<Style TargetType="TextBox">
<Style.Triggers>
<Trigger Property="IsKeyboardFocusWithin" Value="True">
<Se...
Hi everyone,
I would like to get the currentStyle/computedStyle object and I dont want to manually check for the type of browser. (I wanted to get rid of cross-browser handling that is why I came to Jquery).
Actually I want the style object returning all the style-property: value map.
Please help.
...
i want to have xaml drawing brush icons in my tabitem, next to the text.
how should the icons be switched from outside of the style itself?
i know how to do it with images (with Tag) but not sure with drawing brushes.
thanks
...
Hey all, I've noticed that if I have a style setup for a treeview, and a different one setup for the treeviewitem, it gets overridden once I put the item in the tree. Does anyone have suggestions for how to control the style of each treeviewitem individually while mantaining a default style that is applied to the whole treeview? Basicall...
Hello. I'm developing a document number checking on my application and I wrote an attached behavior to textbox to check the text. Here's the behavior code:
public class CPFTextBehavior : Behavior<TextBox>
{
static readonly DependencyPropertyKey IsCPFPropertyKey =
DependencyProperty.RegisterAttachedReadOnly("IsCP...
Is it possible to bind a rows in a Silverlight DataGrid to some sort of style property in a ViewModel so that styles can be applied programatically / dynamically?
I've been using the Mvvm-Light toolkit quite successfully to create an mvvm silverlight app, this is the first major stumbling block I have hit.
Thanks in advance for any he...
Hello,
Is there any cheat sheet or something similar that shows me all the Flex 4 CSS styles available?
Thank you
...
I want' to define that every control of specific type inisde a grid gets a Style. This is easy just put the styles with TargetType inside the grid resources. But what then if I wan't to reuse this grid as a style?
I can create a grid style and have a setter to resources but can only put one style there.
<Style x:Key="GridStyle" TargetT...
Soon to be a professional .NET developer (I hope) I start to dig into Windows Presentation Foundation (WPF). Looking into several video tutorials, I find design of GUI a daunting task. Having to specify every color, on every element, in every situation, to every platform seems a bit too much. How can you make this process simpler, and mo...
I've hit a brick wall on a UI item with regard to applications on sense phones. I have been unable to craft search queries on google or SO to find any reference to what I'm after.
Is there a way that I can have my application theme its UI styles to match the phone's currently applied style? I'm basically after the styles for different U...
Hi
I have multiple FlowDocuments, all of them have a table. All tables look the same.
So I want to refactor the FlowDocuments.
My initial document looks like:
<FlowDocument xmlns=...>
<Table>
<Table.Columns>
<TableColumn Width="12*" />
<TableColumn Width="1.5*" />
<TableColumn Width="2*" />
<TableColum...
Is there any way to make a style inherit from multiple other styles, instead of just being limited to:
<style name="WidgetTextBase">
<item name="android:typeface">serif</item>
<item name="android:textSize">12dip</item>
<item name="android:gravity">center</item>
</style>
<style name="BOSText" parent="WidgetTextBase">
<it...