private int ControlIDForProperty(HierarchyProperty property) { if (property != null) { return (property.row + 0x989680); } return -1; }