Exemplo n.º 1
0
 /// <summary>
 /// Fire <see cref="PropertyChange" /> events to listeners
 /// </summary>
 /// <param name="property">The property.</param>
 protected virtual void OnPropertyChange(TextElementProperty property)
 {
     if (propertyChangeListeners != null)
     {
         propertyChangeListeners(this, new TextElementPropertyChangeEventArgs(property));
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Fire a <see cref="PropertyChange"/> event to listeners
 /// </summary>
 /// <param name="property">The property that changed</param>
 protected virtual void OnPropertyChange(TextElementProperty property)
 {
     if (propertyChangeListeners != null) {
         propertyChangeListeners(this,new TextElementPropertyChangeEventArgs(property)) ;
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// Create a <c>TextElementPropertyChangeEventArgs</c>
 /// </summary>
 /// <param name="property"></param>
 public TextElementPropertyChangeEventArgs(TextElementProperty property)
 {
     this.property = property ;
 }