Questions tagged [custom-properties]

Use the custom-properties tag for questions relating to using non-standard or ad hoc properties in programming languages, APIs, or programming tools that allow them. For questions about custom properties in CSS, use the css-variables tag, instead.

Custom properties are just that: non-standard or ad hoc properties in programming languages, APIs, or programming tools that allow them to be defined by the programmer when writing code or during run time. For questions about custom properties in CSS, use the tag, instead.

115 questions
0
votes
1 answer

Display word custom document property on screentip

On your Windows machine if you just hover your mouse over any Microsoft Office Word 2007/2010 document you get a screentip which generally contains metadata information such as Type,Authors, Size and DateModified. These metadata are the builtin…
Hamza
  • 1
  • 1
0
votes
2 answers

Word API Custom Properties

I need some help on word add-ins I will be programmatically creating a document and as part of that I need to add custom property (Pub_Doc_ID) to the document, as in the picture below. I am using Word Java APIs now and could not find a way to do…
0
votes
2 answers

Setting and using custom properties of HTML objects in javascript

I am trying to make a simple battleships game where a 10x10 table is used as the playing field. I want to be able to change the boat length and number of boats easily, which is why I am (attempting) to store information against the HTML object…
Maxim Webb
  • 67
  • 8
0
votes
0 answers

Umbraco : creating custom property editor based on dropdown - not saving selection

I have been trying to build a custom property editor based on the dropdown. I have managed to get it to build with a set of options based on a prevalues field, and when I edit the document with this editor, I see all the drop down options, but…
YesGenesisCamel
  • 173
  • 1
  • 12
0
votes
1 answer

Setting a custom property of a custom control via mouse click on Form (in DesignMode)

A control of mine has a List as property which needs to be set when that control is constructed. The individual Point's have to be taken from mouse-clicks on the form and it has to happen in the Designmode of Visual Studio. Now my idea was to…
0
votes
2 answers

Custom Attribute on property in C#

I have a class Person with two properties public sealed class Person { [Description("This is the first name")] public string FirstName { get; set; } [Description("This is the last name")] public string LastName { get; set; } } In my console…
user2332607
  • 99
  • 1
  • 3
  • 10
0
votes
2 answers

Sort/Filter dictionary by property of object in Key

I have a dictionary like eg: let dict = Dictionary>() Obj1.price = "10" Obj1.value = "abc" Obj1.title = "January" Obj2.price = "10" Obj2.value = "def" Obj2.title = "April" Obj3.price = "10" Obj3.value = "pqr" Obj3.title =…
nkp
  • 181
  • 2
  • 12
0
votes
1 answer

How to create Custom properties on lineItems

I have researched a bit and found that it is possible to create custom properties on for example a product. These can be accessed through the property Properties on a product of type VirtoCommerceCatalogModuleWebModelProduct. But on a lineitem of…
Diemauerdk
  • 5,238
  • 9
  • 40
  • 56
0
votes
3 answers

WPF - Dependency Properties Error

I'm working on a WPF project, and my intention is to make two specific RadioButtons alter properties of another specified Component. But for now, i'm just trying to store a String inside the RadioButton. For that, I've created a behavior class: …
0
votes
3 answers

Get Sitecore Custom Profile Properties

So I've been working Sitecore for a while now, and for sending an email through the e-mailcampaignmanager I've set up a module which should load certain items based on fields (user-filled interests) in the Custom Profile Properties. Getting the…
Ronald
  • 33
  • 1
  • 7
0
votes
1 answer

umbraco custom property editor

I have a few custom property editors which all work like a charm on my development environment. When I monitor the network trafic (chrome developertools) the javascript files are downloaded seperatly and I can find them in the resources…
0
votes
1 answer

Update custom user profile properties - Powershell - SharePoint

Having problem updating custom user profile properties. Anyone with the same problem, code below: [void][reflection.assembly]::Loadwithpartialname("Microsoft.Office.Server"); $site=new-object…
Plexus81
  • 1,221
  • 6
  • 23
  • 44
0
votes
2 answers

How to create custom property of DataGridViewTextBoxColumn in c# win. form

How can i create a property named IsCheck (value true/false) in DataGridViewTextBoxColumn? i searched the internet but cannot find a solution to create property. Please help me with a code snippet or so.
0
votes
0 answers

EA addin c# CustomProperties - change the activity parameter direction value

I try to change CustomProperties sets for element, and I have some questions/problems, could anyone to help me? 1. I added a new element and checked CustomProperties sets for this element in t_xref -> not found, none rows for this…
0
votes
2 answers

Process Word Document with Custom Property Fields using Java

I have a word document, let's call it a template though it is not a Word Template, which is made up of images, text, tables, headers, footers etc. some of which are populated by custom properties (Insert --> Fields --> DocProperty…
Vihung
  • 12,947
  • 16
  • 64
  • 90