//You should not access any managed member here except static instance.
//because the execution order of Finalizes is non-deterministic.
- if (this != null && _textEditorTextChangedCallbackDelegate != null)
+ if (this.HasBody() && _textEditorTextChangedCallbackDelegate != null)
{
TextChangedSignal().Disconnect(_textEditorTextChangedCallbackDelegate);
}
{
ScrollStateChangedEventArgs e = new ScrollStateChangedEventArgs();
- if (textEditor != null)
+ if (textEditor != global::System.IntPtr.Zero)
{
// Populate all members of "e" (ScrollStateChangedEventArgs) with real data
e.TextEditor = Registry.GetManagedBaseHandleFromNativePtr(textEditor) as TextEditor;
//Release your own unmanaged resources here.
//You should not access any managed member here except static instance.
//because the execution order of Finalizes is non-deterministic.
- if (this != null)
+ if (this.HasBody())
{
if (_textFieldMaxLengthReachedCallbackDelegate != null)
{
}
/// <summary>
- /// Internal constructor with Graphics Backend Type
+ /// Internal inhouse constructor with Graphics Backend Type
/// </summary>
/// <param name="backend"></param>
/// <param name="windowMode"></param>
/// <param name="windowSize"></param>
/// <param name="windowPosition"></param>
/// <param name="styleSheet"></param>
- internal NUIApplication(Graphics.BackendType backend, WindowMode windowMode = WindowMode.Opaque, Size2D windowSize = null, Position2D windowPosition = null, string styleSheet = "") : base(new NUICoreBackend(styleSheet, windowMode))
+ /// InhouseAPI, this could be opend in NextTizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public NUIApplication(Graphics.BackendType backend, WindowMode windowMode = WindowMode.Opaque, Size2D windowSize = null, Position2D windowPosition = null, string styleSheet = "") : base(new NUICoreBackend(styleSheet, windowMode))
{
//windowMode and styleSheet will be added later. currenlty it's not working as expected.
Graphics.Backend = backend;
/// <summary>
/// Graphics BackendType
/// </summary>
- internal class Graphics
+ /// InhouseAPI, this could be opend in NextTizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public class Graphics
{
public enum BackendType
{