Top "Attributes" questions

The attributes tag should be used for any issues relating to a property of an object, element, or file, etc.

JavaScript: add extra attribute after new Option()

I have a piece of code that dynamically adds options to a select field depending on some other criteria. It …

javascript attributes option
NUnit Test Run Order

By default nunit tests run alphabetically. Does anyone know of any way to set the execution order? Does an attribute …

.net attributes tdd nunit
Can I initialize a C# attribute with an array or other variable number of arguments?

Is it possible to create an attribute that can be initialized with a variable number of arguments? For example: [MyCustomAttribute(…

c# attributes
How to determine if user account is enabled or disabled

I am throwing together a quick C# win forms app to help resolve a repetitive clerical job. I have performed …

c# active-directory attributes directoryservices
Python matplotlib decrease size of colorbar labels

I need your help! I have a plotting code which is the following: fig = plt.figure() ax1 = fig.add_subplot(111) …

python attributes matplotlib labels colorbar
Firefox 4 : Is there a way to remove the red border in a required form input?

When required is defined in a form field, Firefox 4 automatically shows a red border to this element, even BEFORE the …

attributes border firefox4 required
How to convert a tab separated file to CSV format?

I have a text file in this format : { attribute1 attribute2 attribute3.... attributeN value"A" value"B" value"C".... value"Z" /* …

excel csv attributes text-files
How to add an attribute to a property at runtime

//Get PropertyDescriptor object for the given property name var propDesc = TypeDescriptor.GetProperties(typeof(T))[propName]; //Get FillAttributes methodinfo delegate var …

c# attributes
How do you define attribute selectors in SASS?

In CSS, you can do this: input[type=submit] { // properties } It's a very useful for styling form buttons. How do …

css attributes css-selectors sass
Which is the best way to check for the existence of an attribute?

Which is a better way to check for the existence of an attribute? Jarret Hardie provided this answer: if hasattr(…

python attributes