}
/// <summary>
- /// Destroy Current Obj
+ /// Destroy current object
/// </summary>
public void Dispose()
{
}
}
+ /// <summary>
+ /// Releases all resources currently used by this instance.
+ /// </summary>
+ /// <param name="disposing">
+ /// true if managed resources should be disposed
+ /// otherwise, false.
+ /// </param>
protected virtual void Dispose(bool disposing)
{
if (!_disposed)
}
}
+ /// <summary>
+ /// Destroy current object
+ /// </summary>
public void Dispose()
{
Dispose(true);
_handlers?.Invoke(sender, e);
}
+ /// <summary>
+ /// Releases all resources currently used by this instance.
+ /// </summary>
+ /// <param name="disposing">
+ /// true if managed resources should be disposed
+ /// otherwise, false.
+ /// </param>
protected virtual void Dispose(bool disposing)
{
if (!_disposed)
}
}
+ /// <summary>
+ /// Destroy current object
+ /// </summary>
public void Dispose()
{
Dispose(true);
}
}
+ /// <summary>
+ /// Releases all resources currently used by this instance.
+ /// </summary>
+ /// <param name="disposing">
+ /// true if managed resources should be disposed
+ /// otherwise, false.
+ /// </param>
protected virtual void Dispose(bool disposing)
{
if (_unmanagedPtr != IntPtr.Zero)
}
}
+ /// <summary>
+ /// Destroy current object
+ /// </summary>
public void Dispose()
{
Dispose(true);
/// </summary>
public interface IAccessibleObject
{
+ /// <summary>
+ /// Gets or sets the reading information types of an accessible object.
+ /// </summary>
ReadingInfoType ReadingInfoType { get; set; }
+
+ /// <summary>
+ /// Gets or sets the role of the object in accessibility domain.
+ /// </summary>
AccessRole Role { get; set; }
+
+ /// <summary>
+ /// Gets or sets highlightable of given widget.
+ /// </summary>
bool CanHighlight { get; set; }
+
+ /// <summary>
+ /// Gets or sets the translation domain of "name" and "description" properties.
+ /// Translation domain should be set if application wants to support i18n for accessibily "name" and "description" properties.
+ /// When translation domain is set values of "name" and "description" properties will be translated with dgettext function using current translation domain as "domainname" parameter.
+ /// It is application developer responsibility to ensure that translation files are loaded and binded to translation domain when accessibility is enabled.
+ /// </summary>
string TranslationDomain { get; set; }
+
+ /// <summary>
+ /// Gets or sets an accessible name of the object.
+ /// </summary>
string Name { get; set; }
+
+ /// <summary>
+ /// Gets or sets contextual information about object.
+ /// </summary>
string Description { get; set; }
+
+ /// <summary>
+ /// Gets or sets the delegate for <see cref="IAccessibleObject.Name"/>.
+ /// </summary>
AccessibleInfoProvider NameProvider { get; set; }
+
+ /// <summary>
+ /// Gets or sets the delegate for <see cref = "IAccessibleObject.Description" />.
+ /// </summary>
AccessibleInfoProvider DescriptionProvider { get; set; }
+
+ /// <summary>
+ /// Defines the relationship between two accessible objects.
+ /// Relationships can be queried by Assistive Technology clients to provide customized feedback, improving overall user experience.
+ /// AppendRelation API is asymmetric, which means that appending, for example, relation <see cref="FlowsTo"/> from object A to B, do not append relation <see cref="FlowsFrom"/> from object B to object A.
+ /// </summary>
+ /// <param name="relation">The relationship between source object and target object of a given type.</param>
void AppendRelation(IAccessibleRelation relation);
+
+ /// <summary>
+ /// Removes the relationship between two accessible objects.
+ /// </summary>
+ /// <param name="relation">The relationship between source object and target object of a given type.</param>
void RemoveRelation(IAccessibleRelation relation);
+
+ /// <summary>
+ /// Highlights accessible widget.
+ /// </summary>
void Highlight();
+
+ /// <summary>
+ /// Clears highlight of accessible widget.
+ /// </summary>
void Unhighlight();
}
}
}
}
+ /// <summary>
+ /// Destroy current object
+ /// </summary>
public void Dispose()
{
Dispose(true);
_handle = IntPtr.Zero;
}
+ /// <summary>
+ /// Releases all resources currently used by this instance.
+ /// </summary>
+ /// <param name="disposing">
+ /// true if managed resources should be disposed
+ /// otherwise, false.
+ /// </param>
protected virtual void Dispose(bool disposing)
{
if (disposing)
_handlers?.Invoke(sender, e);
}
+ /// <summary>
+ /// Destroy current object
+ /// </summary>
public void Dispose()
{
Dispose(true);
_smartEvent.MakeInvalidate();
}
+ /// <summary>
+ /// Releases all resources currently used by this instance.
+ /// </summary>
+ /// <param name="disposing">
+ /// true if managed resources should be disposed
+ /// otherwise, false.
+ /// </param>
protected virtual void Dispose(bool disposing)
{
if (disposing)
Interop.Elementary.elm_transit_effect_add(_handle, EffectTransitionCallback, _effect, EffectEndCallback);
}
+ /// <summary>
+ /// Destroy current object
+ /// </summary>
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
- protected virtual void Dispose(bool isDisposing)
+ /// <summary>
+ /// Releases all resources currently used by this instance.
+ /// </summary>
+ /// <param name="disposing">
+ /// true if managed resources should be disposed
+ /// otherwise, false.
+ /// </param>
+ protected virtual void Dispose(bool disposing)
{
if (_isDisposed)
return;
- if (isDisposing)
+ if (disposing)
{
((INotifyCollectionChanged)_chains).CollectionChanged -= OnChaninCollectionChanged;
_chains.Clear();