Class: Panel
Instance Method Summary
collapse
#[], #add_class_to_name_collector, #add_object_to_name_collector, #assign_to_name_collector, #evaluate_properties, #inject_names, #name_collector
Instance Method Details
#add(klass, args = {}, &b) ⇒ Object
94
95
96
|
# File 'lib/ironnails/wpf.rb', line 94
def add(klass, args = {}, &b)
add_class_to_name_collector(children, klass, args, &b)
end
|
#add_name(name, obj) ⇒ Object
98
99
100
|
# File 'lib/ironnails/wpf.rb', line 98
def add_name(name, obj)
name_collector[name] = obj
end
|
#add_obj(obj) ⇒ Object
102
103
104
|
# File 'lib/ironnails/wpf.rb', line 102
def add_obj(obj)
add_object_to_name_collector(children, obj)
end
|
#background=(color) ⇒ Object
108
109
110
|
# File 'lib/ironnails/wpf.rb', line 108
def background=(color)
self.old_background = color.to_brush
end
|
#old_background= ⇒ Object
106
|
# File 'lib/ironnails/wpf.rb', line 106
alias_method :old_background=, :background=
|