// for every base class increase property start index
startEventPropertyIndex += (int)Tizen.NUI.PropertyRanges.DEFAULT_PROPERTY_MAX_COUNT_PER_DERIVATION; // DALi uses 10,000
startAnimatablePropertyIndex += maxCountPerDerivation;
- NUILog.Debug("getStartPropertyIndex = " + viewType.Name + "current index " + startEventPropertyIndex);
+ NUILog.Debug("getStartPropertyIndex = " + viewType?.Name + "current index " + startEventPropertyIndex);
viewType = viewType.GetTypeInfo().BaseType;
}
}
BindableProperty implicitStyleProperty = BindableProperty.Create(nameof(ImplicitStyle), typeof(Style), typeof(View), default(Style),
propertyChanged: (bindable, oldvalue, newvalue) => OnImplicitStyleChanged());
_implicitStyles.Add(implicitStyleProperty);
- Target.SetDynamicResource(implicitStyleProperty, type.FullName);
+ Target.SetDynamicResource(implicitStyleProperty, type?.FullName);
type = type.GetTypeInfo().BaseType;
if (s_stopAtTypes.Contains(type))
return;