public void AddAutofillView(BaseComponents.View view, int propertyIndex, string id, string label, AutofillContainer.ItemHint hint, bool isSensitive) { Interop.AutofillContainer.AutofillContainer_AddAutofillView(swigCPtr, BaseComponents.View.getCPtr(view), propertyIndex, id, label, (uint)hint, isSensitive); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
public void RemoveAutofillItem(BaseComponents.View view) { Interop.AutofillContainer.AutofillContainer_RemoveAutofillItem(swigCPtr, BaseComponents.View.getCPtr(view)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
public void Emit(BaseComponents.View target, int visualIndex, int signalId) { Interop.VisualEventSignal.Emit(SwigCPtr, BaseComponents.View.getCPtr(target), visualIndex, signalId); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
public void Emit(BaseComponents.View arg1) { Interop.ListEventSignalType.Emit(SwigCPtr, BaseComponents.View.getCPtr(arg1)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
static internal PropertyValue ToPropertyValue(ShadowBase instance, BaseComponents.View attachedView) { if (instance == null || !instance.IsValid()) { return(new PropertyValue()); } instance.propertyMap[Visual.Property.Transform] = instance.GetTransformMap(attachedView); return(new PropertyValue(instance.propertyMap)); }
internal PropertyValue ToPropertyValue(BaseComponents.View attachedView) { if (IsEmpty()) { return(new PropertyValue()); } var map = GetPropertyMap(); if (attachedView.CornerRadius != null) { map[Visual.Property.CornerRadius] = attachedView.CornerRadius == null ? new PropertyValue() : new PropertyValue(attachedView.CornerRadius); map[Visual.Property.CornerRadiusPolicy] = new PropertyValue((int)attachedView.CornerRadiusPolicy); } return(new PropertyValue(map)); }
internal PropertyValue ToPropertyValue(BaseComponents.View attachedView) { if (IsEmpty()) { return(new PropertyValue()); } var map = GetPropertyMap(); if (attachedView.CornerRadius > 0) { map[Visual.Property.CornerRadius] = new PropertyValue(attachedView.CornerRadius); } map[Visual.Property.Transform] = GetTransformMap(); return(new PropertyValue(map)); }
private PropertyValue GetTransformMap(BaseComponents.View attachedView) { var transformMap = new PropertyMap(); if (!offset.Equals(noOffset)) { transformMap[(int)VisualTransformPropertyType.OffsetPolicy] = new PropertyValue(absoluteTransformPolicy); transformMap[(int)VisualTransformPropertyType.Offset] = PropertyValue.CreateWithGuard(offset); } if (!extents.Equals(noExtents)) { var viewSize = new Vector2(attachedView.GetRelayoutSize(DimensionType.Width), attachedView.GetRelayoutSize(DimensionType.Height)); var shadowSize = viewSize + extents; transformMap[(int)VisualTransformPropertyType.SizePolicy] = new PropertyValue(absoluteTransformPolicy); transformMap[(int)VisualTransformPropertyType.Size] = PropertyValue.CreateWithGuard(shadowSize); } return(transformMap.Count() == 0 ? new PropertyValue() : new PropertyValue(transformMap)); }
internal ViewResourceReadySignal ResourceReadySignal(View view) { ViewResourceReadySignal ret = new ViewResourceReadySignal(Interop.View.ResourceReadySignal(View.getCPtr(view)), false); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
protected virtual bool AccessibilityScrollToChild(View child) { return(false); }
internal VisualEventSignal VisualEventSignal() { VisualEventSignal ret = new VisualEventSignal(Interop.VisualEventSignal.NewWithView(View.getCPtr(this)), false); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }